In a C# MicroStation addin I'm creating itemtypes programmatically and applying them to elements. My itemtype is "BoreHole", when I view the results in Explorer I see BoreHole with a list of all the BoreHole itemtype instances I've placed. Is there a way to change what shows up in the list instead of the itemtype name?
Below is what I see from my application:
I would like to create a list that appears like what the Bentley Gint geotech package create (where you are shown the Borehole number instead of just the generic itemtype name. (see below image)
Any ideas? I don't see anything like a label or display name that I can find.
Hi Mike,
If you are not aware we do provide a number of EC Blogs that may be of interest and help. One in particular Grouping and Sorting ECProperties in EC property pane describes how you can customize grouping and display of attributes within the Properties pane via CustomAttributes.
HTH,Bob
Hi Bob,
I'll take a look, would this apply to the view in Explorer as well as the Properties pane?
Thanks,
Mike
Mike Robertson said:Any ideas?
To extend Bob's answer: Yes, there are tools to define how objects are presented in MicroStation GUI (Items list, Element properties...).
To achieve that, you have to leave user-oriented Item Types and to use "full powered" EC data features.
The blog is good place where to start (but to learn EC in detail, more than that is required).
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Please file an idea.
Mangesh