Message 1 of 2
Set Relationship Value in Positional Representation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I need help with the API coding needed to manipulate PosReps. I can create and activate PosReps with the API but I can't set any override values. The problem is with the PositionalRepresentation object. It has a method .SetRelationshipValueOverride(Relationship as object, enum, value). What is a Relationship in Inventor. I can't find any documentation on this object. Please help.
Dim oExplode As PositionalRepresentation
Set oExplode = ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager. _PositionalRepresentations.item("Explode")
oExplode.SetRelationshipValueOverride (?????, kRelationshipLinearPositionValue, "2.") 'Why is the value a string and not a double?