Announcements
IMPORTANT. Forum to be archived in several phases. You can no longer submit new questions - but can only answer existing threads until Oct 17th 2016. Please read this message for details
Mechanical Desktop (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"-AMASSIGN" COMMAND TO UNASSIGN/DELETE MATERIAL FROM ACTIVE PART WITH AUTOLISP

0 REPLIES 0
Reply
Message 1 of 1
babijay43
1228 Views, 0 Replies

"-AMASSIGN" COMMAND TO UNASSIGN/DELETE MATERIAL FROM ACTIVE PART WITH AUTOLISP

Hello all,

 

Hopefully there's a beautiful mind out there still using this software to help me out.  I have a ton of files that may or may not have a material assigned to it.  I would like to run an Autolisp file at the open of a file that automatically unassigns or deletes a material and density from the "Assign Attributes" dialog box.  Below is a command I've tried, but the problem is that it prompts me to select which part I want to edit.  Is there a way to remove these attributes without having to select anything? 

 

(command "-amassign" "here I'm prompted to select a part/assembly" "del" "material" "del" "density" "exit")

 

 

screenshot.jpg

Can anyone help with this?

 

Thanks,

Candace

 

 

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report