Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to switch a mate from standard to flush?

2 REPLIES 2
Reply
Message 1 of 3
Jam_Jumpin
328 Views, 2 Replies

Is it possible to switch a mate from standard to flush?

Is it possible to switch a mate from standard to flush using ilogic?

 

swithc.PNG

2 REPLIES 2
Message 2 of 3
AdamAG99T
in reply to: Jam_Jumpin

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

Message 3 of 3
SharkDesign
in reply to: AdamAG99T

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. 

  Expert Elite
  Inventor Certified Professional

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report