Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't select Joints/Joint Origins

2 REPLIES 2
Reply
Message 1 of 3
ghughes.2pi
111 Views, 2 Replies

Can't select Joints/Joint Origins

For a SelectionCommandInput, I have them set to filter only Joints. 

ghughes2pi_0-1652376749568.png

I then want to save the selection data as I want to essentially go between different selection sets, so I store the entities in a joints array as shown here so I can then reselect them later if the user goes back to a previous state.

ghughes2pi_1-1652377074327.png

However, when I try and reselect these joints (or jointOrigins), it doesnt seem to select them properly.

ghughes2pi_3-1652377208816.png

Is there any way in the API currently to select Joints or JointOrigins automatically without user input? I've tried multiple different methods including using assemblyContext methods and haven't found anything in the forums.


My current solution would be to use custom point graphics overlaid over joints and then select and deselect those instead, but if there's an easier way, I'm all ears!

 

2 REPLIES 2
Message 2 of 3
BrianEkins
in reply to: ghughes.2pi

Unfortunately, this is an issue with the API and it handles joints.  It's something that the development team needs to address and I'm not aware of any workarounds.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3
ghughes.2pi
in reply to: BrianEkins

Thanks for the update! Overlaying custom point graphics seems to be working for now from my testing yesterday.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report