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: 

Selection filter to go with angle constraint directed solution

0 REPLIES 0
Reply
Message 1 of 1
prussellZXB3F
284 Views, 0 Replies

Selection filter to go with angle constraint directed solution

prussellZXB3F
Enthusiast
Enthusiast

I'm working on an assembly productivity tool add-in, see the linked video. (Briefly the idea is that you can put repeated components in quickly on the assumption that you'll most likely use the same constraints, it just asks for the details of the new location more or less halving the effort, just a personal project and will put up for download when it's a bit more polished).

 

When placing directed solution angle constraints I can't find a filter that would give the user the options of selecting which side of a face to reference (normally I access through RMB > select other > face normal). I'm using interaction events rather than pick command and .AddSelectionFilter(SelectionFilterEnum.k***********) to tailor the selection for the constraint type.

 

Anyone been down this path?

 

Also I'm finding that using the ConvertToAngleConstraint() command while giving the opposite angle (either as the inverse or by subtracting from 2 pi rads) doesn't flip the component as I'd hoped when using anything but the reference vector solution type, Inventor just choses to interpret the angle in such a way as to leave the part in exactly the same position, I'm accepting this as just another reason not to use undirected type but am hoping with the correct data input the directed solution type will reposition itself.

 

Thanks in Advance

 

Phil

 
 
 
0 Likes

Selection filter to go with angle constraint directed solution

I'm working on an assembly productivity tool add-in, see the linked video. (Briefly the idea is that you can put repeated components in quickly on the assumption that you'll most likely use the same constraints, it just asks for the details of the new location more or less halving the effort, just a personal project and will put up for download when it's a bit more polished).

 

When placing directed solution angle constraints I can't find a filter that would give the user the options of selecting which side of a face to reference (normally I access through RMB > select other > face normal). I'm using interaction events rather than pick command and .AddSelectionFilter(SelectionFilterEnum.k***********) to tailor the selection for the constraint type.

 

Anyone been down this path?

 

Also I'm finding that using the ConvertToAngleConstraint() command while giving the opposite angle (either as the inverse or by subtracting from 2 pi rads) doesn't flip the component as I'd hoped when using anything but the reference vector solution type, Inventor just choses to interpret the angle in such a way as to leave the part in exactly the same position, I'm accepting this as just another reason not to use undirected type but am hoping with the correct data input the directed solution type will reposition itself.

 

Thanks in Advance

 

Phil

 
 
 
Labels (3)
0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report