Can someone help me. I know that Intent doesn't support Ordinate Dimentions now. How can I use Intent API in this case. Can you show me a small example if it's real.
You will need to do this through the Inventor API directly, refering to the Inventor API documentation. This topic has some basic information to get you started if you haven't done anythink with .NET code in rules and accessing the Inventor API from rules.
This topic has some additional information about the Inventor API
Yes. I did.
Take a look on this code (attached file). I works for me. You can try to modify it.
Copy files into Design Files folder.
Example to call IvOriginIndicator :
Child OriginIndicator As :IvOriginIndicator
part1 = ' your part as part
entity1 = ' your entity as string
intent1 = :endPoint
originIndicatorVisible? = False
End Child
Example to call IvOrdinateDimensionSet:
Child OrdinateDimensionSet As :IvOrdinateDimensionSet
origin = OriginIndicator ' see previous child above
entity1 = ' your entities as list of strings ({"Edge1", "Edge2", etc.})
intent1 = :endPoint
dimType = :horizontal
dimDirection = :top
dimStyle = "ANSI - vertical dimension value" ' allow you rotate dimension text, this is optional parameter
offset = 1.5
continuousRunning = False
End Child