Message 1 of 3

Not applicable
06-02-2020
05:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I create several (hundreds) constraints similar to
Dim ComponentName As String = "MyComponent1"
Dim OtherComponent As String = "MyComponent2"
Dim OtherComponentFace As String = "MyComponent2_TopFace"
Dim offset As Double
Constraints.AddFlush("Constr:" & ComponentName & ":1", ComponentName, "XY Plane", OtherComponent, OtherComponentFace, offset)
Assuming I know the name of a constraint, for example "Constr:MyComponent1:1", I want to retrieve:
- entityName2 (in this case "MyComponent2_TopFace")
- The parameter name of the offset
I would also like to be able to change the entityName2/OtherComponentFace without deleting the constraint and creating a new one, if that is possible. (to speed it up, since there are many constraints)
Solved! Go to Solution.