- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When an AttributeSet and an Attribute are added to an entity, such as a SurfaceBody, and the entity is subsequently deleted, the AttributeSet and Attribute remain in the document. Even after saving and loading the document, the attribute is still present.
The following is a sample code in C#, along with a result after adding the attribute to the "body" (left image) and then deleting the feature that created the body (and hence deleting the body - right image). I used the Nifty Attributes add-in developed by @BrianEkins (thank you, Brian!) to view the attributes.
AttributeSet attributeSet = body.AttributeSets.Add("TestSet");
attributeSet.Add("TestAttribute", ValueTypeEnum.kStringType, "Test Attribute");
Is it a bug or by design?
Website: https://perceptino.com
Solved! Go to Solution.
Link copied