- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @frank_schalla. I have an idea for you to consider for your project going forward. Since the designer of these parts will know whether the part will be or is a certain primitive shape, the designer could find a way to record this designation within the model file when they create the model files, so that you will not have to go back and inspect the physical geometry of the model by code in an attempt to figure this out later. You could create something like a multi-value Text type user parameter with those three possible values in it (square, rectangle, circle). You could use one of the standard iProperties that you currently do not use, or create a custom iProperty with a name you can standardize across all model files, and assign one of those keywords as its value. You could create an Attribute within an AttributeSets of the Document.AttributeSets property, again with a standardized name, and set one of those keywords as its value. There are lots of ideas like this for somehow marking or designating a model document so that it can be very quickly and easily identified later. I know this doesn't address model files that already exist, but maybe you can mark those existing model files in this way as you encounter or work with them and identify them along the way.
Wesley Crihfield
(Not an Autodesk Employee)