Message 1 of 4
Derived SketchLine3D with ReferencedEntity = Nothing

Not applicable
04-12-2009
12:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a part AAA with a single Sketch3D with several 3d lines in it. Each line has some attributes. Then I create a new part BBB deriving Sketch3D geometry from part AAA.
Derived SketchLine3D objects in part BBB are available in the collection oCompDef.ReferenceComponents.DerivedPartComponents.Item(1).Sketches3D.item(1). SketchLines3D
Each 3D line in this collection has the following properties:
• ReferenceComponent (non-empty, points to the part AAA)
• Reference = True
• ReferencedEntity = Nothing (!!!)
I get empty ReferencedEntity property for ANY derived SketchLine3D in part BBB so I can’t get reference to its parent line in part AAA and have no access to parent’s attributes. The same problem is with Point3D objects. I’ve stuck in these lost links.
It looks like API bug because in the same situation derived 2D sketch lines has non-empty ReferencedEntity property which always can be used to access referenced objects and all their properties.
Is there any method to get source 3d lines attributes?
I use Inventor 2009.
Thanks in advance for any idea.
ALink
Derived SketchLine3D objects in part BBB are available in the collection oCompDef.ReferenceComponents.DerivedPartComponents.Item(1).Sketches3D.item(1). SketchLines3D
Each 3D line in this collection has the following properties:
• ReferenceComponent (non-empty, points to the part AAA)
• Reference = True
• ReferencedEntity = Nothing (!!!)
I get empty ReferencedEntity property for ANY derived SketchLine3D in part BBB so I can’t get reference to its parent line in part AAA and have no access to parent’s attributes. The same problem is with Point3D objects. I’ve stuck in these lost links.
It looks like API bug because in the same situation derived 2D sketch lines has non-empty ReferencedEntity property which always can be used to access referenced objects and all their properties.
Is there any method to get source 3d lines attributes?
I use Inventor 2009.
Thanks in advance for any idea.
ALink