Is it possible to make a list of all sollids from a corridor with multiple baselines? I get following message when i try this:
“Warning: Corridor.GetSolids operation failed.
Object reference not set to an instance of an object.”
When using this on a corridor with only one baseline, it works.
Eventually i even would ask if there is a way to let this work on all corridors in the drawing at once.
Hello, what is your particular goal in detail?
The goal is to link every solid (dynamic linked) of a corridor with the mapping appliedsubbassembly. I can get a lot of information from the solid, but some information is in the appliedsubbassembly. Afterwards i want to attach propertysets to the solids and provide the fields with the info (volume, height, start- and endstation, surface in m², …).
You can select all solids on a specific layer. Name of the layer = name of a shape code. You can filter solids by properties from corridor property sets.