How can we have empty material assignment inside mechanical when importing a CAD assembly
Erik Kostson
Member, Employee Posts: 209
✭✭✭✭
Say we have a CAD assembly where parts have been assigned material properties. How can we then have an empty material assignment inside mechanical when importing the CAD?
0
Best Answer
-
This is how it could possibly be done:
- Set material properties (see image below)
- Import CAD file
- Refresh the Model Cell (A3) from WB
- Go to Engineering data and CADMaterial (see libraries)
- Add all materials as needed
- Open Spaceclaim and run script (see below)
Open mechanical
Script
mat = Window.ActiveWindow.Document.Materials locmat= mat.Values im=mat.Count for i in range(1,im): (locmat[i].Delete())
0
This discussion has been closed.