Hello Bentley community,
I want to integrate in a report the connection of two elements which share a geometric constraint (2D drawing).
In the report tree I do not find the geometric constraint.
For my example. I have a line (or complex chain) connected to two cells by a geometric constraint of the "coincidence" type (2D drawing).
I want to retrieve in my line report the information located in my cell (here cell name).
Below is a picture, which speaks more than words.
To make it simple is it possible to recover an item associated types of element that share a geometric constraint ?
Regards
Cyril B. a french user.
Hi Cyril,
Cyril Brezelec said:I want to integrate in a report the connection of two elements which share a geometric constraint (2D drawing).
I think it's a misunderstanding how Item Types report works.
They are designed to report Item Types data attached to elements (in a "per element way") and also element data, that are available in supported (Item Type / EC) format (like color...). The reports, as far as I know, are not able to work with any other type of data or relations.
Cyril Brezelec said:To make it simple is it possible to recover an item associated types of element that share a geometric constraint ?
No, because geometric constraints data are not supported.
But I think you can post new Idea. I can imagine a specialized Expression (give me this type of data) can be added. To convert constraints itself to supported format, so they will be available in the report definition, is probably more complicated.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Cyril Brezelec said:Below is a picture, which speaks more than words
Good explanation, with an excellent illustration: a picture is worth one thousand words.
Jan's right: post an Idea!
Regards, Jon Summers LA Solutions
Again thank you Jan & Jon for your work and for your quick response !
Jan Šlegr said:No, because geometric constraints data are not supported.
So I'm going to turn to the associated expression of my central object which is my line (a cable to be exact in my project).I fear not having the skills but on paper it will be necessary that the expressionin my item line get the value of my element "cell name" associated by a geometric constraint.
Is there another possible association method of expression under microstationthat could do that other than the geometric constraint ?
Jan Šlegr said:But I think you can post new Idea
So i try to prepare a post !
Regards, Cyril B. ACI company / French User
Hi Jan,
Jan Šlegr said:I think it's a misunderstanding how Item Types report works. They are designed to report Item Types data attached to elements (in a "per element way") and also element data, that are available in supported (Item Type / EC) format (like color...). The reports, as far as I know, are not able to work with any other type of data or relations.
- so, we can report data only if element data we want to extract are literally stated in "Expression types and syntax examples" (in Help)?
I have similar problem. My goal is to report cell names in whole model, together with XYZ origin of each cell and item types attached to each cell. As cell origin is not available in Expression, I am thinking of generating two separate reports:
- one with elementID/cell origin
- second with this.GetElement().ElementID and other data stored in Item Type
and then somehow link those data together (Excel?), based on Element ID.
Can you imagine of making it in an easier way?
Jan Šlegr said:No, because geometric constraints data are not supported. But I think you can post new Idea. I can imagine a specialized Expression (give me this type of data) can be added. To convert constraints itself to supported format, so they will be available in the report definition, is probably more complicated.
- or the only easier way might be after some enhancements?
Regards,Wojtek
--
Best regards, Wojtek
SW: Promis.e 08.11.13.96/23.00.00.46
WojtekM said:we can report data only if element data we want to extract are literally stated in "Expression types and syntax examples" (in Help)?
MicroStation CONNECT Reports are a flexible way to harvest DGN data. They don't require an Item Type to be included, although the Help and the user interface (UI) suggest an Item Type is required.
Here are some example Reports that harvest various sorts of DGN data, but don't use an Item Type.
WojtekM said:My goal is to report cell names in whole model, together with XYZ origin
Here's a Report that does exactly that...
You can add Item Type properties to your Report definition.