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 we set different appearance to body/face for component occurrences?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
vijay.shindeSLE5F
439 Views, 2 Replies

Can we set different appearance to body/face for component occurrences?

@BrianEkins  @MattWynn

 

We want to set different appearance to body/face for component occurrences. 

We created a component and copied it to create an occurrence.

 

The visibility & transformation of occurrence body can be handled separately. Similarly can't we set different appearances to occurrence body? We tried doing it manually in Fusion 360 but couldn't achieve desired results.

Please refer to the attached GIF for more details.

 

 Let us know if we have misunderstood something here.

 

Thanks in advance.

Labels (2)
2 REPLIES 2
Message 2 of 3

The API doesn't provide any additional functionality with appearances than what you can do interactively in the product.

 

When applying face or body appearances, you are overriding the appearance assigned to the component.  This override is at the body level so if you have multiple occurrences referencing that component, all of them will show the appearance change.  Because of this, it's not possible to have different colored faces on different occurrences of the same component.

 

You can also apply an override to an occurrence. That will override the appearance assigned to the component and in the UI will provide an option to remove any body or face overrides in the component.  When applying an appearance to a component in the UI, it's best to select the occurrence in the browser.  If you try and select it in the graphics window you're probably getting the body instead.

 

If you're confused with terms occurrence and component, it will be good to read this topic in the help.

 

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-88A4DB43-CFDD-4CFF-B124-7EE67915A07A

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3

Thanks for your reply.

 

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