I execute script but got error like this.
Failed:
Traceback (most recent call last):
File "C:/Users/admin/Documents/ExportStep/ExportStep.py", line 154, in run
'material': comp.material.name,
AttributeError: 'NoneType' object has no attribute 'name'
it is to because comp is assembly.
so I am going to determine assembly in fusion360.
Hi @ruban2 .
Without the code you are running and the f3d/f3z files I don't know anything.
I try to provide as much as I can that I can try right away, but you have not provided any.
Fusion is a bit strange in that it doesn't differentiate between parts and assemblies and you can even create something that acts as both, that's not recommended.
Fusion has components and you can assume a component is a part or assembly based on its contents. A component can contain bodies and it can contain references to other components. When it just contains bodies it can logically be considered a part. When it just contains references to other components (occurrences) it can be considered an assembly. It's possible to have a component that has both. I would consider this a bad component. If you have a component that has neither you don't know if it's represents an empty assembly or part.
Can't find what you're looking for? Ask the community or share your knowledge.