04-20-2018
02:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-20-2018
02:30 AM
Found a solution, while there might not be a command for this;
if you leave the constraint name empty it auto generates the name + occurance number ![]()
Constraints.AddMate("", String_A, Orientation_A, String_B, Orientation_B)
The previous posted code still has a few flaws in it but it has gotten a bit big to post it all now
In the case some1 wants to use it, I recommend replacing the ,10 with a number counted from the new file name
sCharacters = Item_Unique_ID & Item & " :" iString_Length = sCharacters.Length
If Left(oOccurrence.Definition.Document.DisplayName,iString_Length) = Item_Unique_ID & Item Then
Back to my constraining code:
Since the "Named Geometry Surfaces" is new in 2019, I'm assuming there is no way yet to automaticly look up / call / list these except for writing the exact name in a rule?
Or automaticly count the number of Surfaces on the part level and put it into a Parameter?