Is it possible to switch a mate from standard to flush using ilogic?
I haven't used this myself but from looking at the API documentation it seems like you just need to call ConvertToFlushConstraint on the mate constraint object you're referencing. Here's a link to the documentation for future reference: http://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-BF70CF3D-0631-44FE-B31B-21E380F067FE
Thanks for your help, no idea what to do with it though...
AssemblyConstraint.ConvertToFlushConstraint( EntityOne As Object, EntityTwo As Object, Offset As Variant, [BiasPointOne] As Variant, [BiasPointTwo] As Variant ) As FlushConstraint
EntityOne:
Input object that defines the first object. The input object must be either a planar Face object or WorkPlane object. |
The help doesn't say how to specify what the object is or how to even find out what it's called in the browser.
Think I might just put two constraints in and suppress the one I don't want with ilogic.
Can't find what you're looking for? Ask the community or share your knowledge.