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
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
Can't find what you're looking for? Ask the community or share your knowledge.