Override Joint in Positional Representation

Override Joint in Positional Representation

jstephensT83ZQ
Observer Observer
262 Views
0 Replies
Message 1 of 1

Override Joint in Positional Representation

jstephensT83ZQ
Observer
Observer

I have a VBA program that creates a new positional representation and explodes all insert constraints. I'm trying to extend this functionality to Joints, but am having some trouble. This path is used for overriding a constraint:

 

ThisApplication.ActiveDocument.ComponentDefinition.Constraints.Distance.Value =

 

But when I use this path for a joint:

 

ThisApplication.ActiveDocument.ComponentDefinition.Joints.Definition.Gap.Value =

 

it doesn't behave the same way. The constraint acts as an override in the new positional representation, but the joint acts as an edit to the relationship independent of the positional representation.

 

Does anyone know how to override a joint gap in a positional representation?

 

I've attached my current code.

0 Likes
263 Views
0 Replies
Replies (0)