Assembly material macro
Assembly material macro
(OP)
Does anyone know of a source for a macro or program that will:
Change part materials from within an assembly for a part or a selection of parts to a material selected from a drop down list. An option would be a macro that had a single material hard keyed to the macro. In that case we could have several macros, one for each material that we typically specify.
I can do some slight tweeking of existing macros, but am not a programmer.
Thanks in advance!
Change part materials from within an assembly for a part or a selection of parts to a material selected from a drop down list. An option would be a macro that had a single material hard keyed to the macro. In that case we could have several macros, one for each material that we typically specify.
I can do some slight tweeking of existing macros, but am not a programmer.
Thanks in advance!






RE: Assembly material macro
CorBlimeyLimey
Barrie, Ontario
FAQ559-863
RE: Assembly material macro
Regards,
Tick
http://www.EsoxRepublic.com
RE: Assembly material macro
BTW: Tick - hope you got my email with his email address. You two could share SW programming ideas and problem solving without the above issues.
I was - and he did. So at least I didn't get coal.....
OK, OK, It's a reference to my holiday sig. "Be naughty - Save Santa a trip..."
RE: Assembly material macro
Big things a-brewin' in Tick's cottage.
RE: Assembly material macro
In SW2004 I have tried changing materials in the assembly context, but the change does not propigate to the part. I am aware of the ability to select the materials from the drop down list when in a part, but I need to do it from the assembly level (this is a mandated requirement). If it IS possible to do from the assembly please provide some slight guidance on the method that works for you.
Thanks
Bob Sorg
RE: Assembly material macro
I have had very limited access to SW04, but you should be able to easily edit the material of parts within an assy.
Open the assy, RMB the part & select "Edit Part", then RMB the Material icon & select "Edit Material". You should then be able to select from a drop down list. When you do a resave of the assy, the part will be updated to your selected material.
If you do not want the part to be updated you will have to create material configurations of the part & simply change to the pre-configured part in your assy.
You can probably also change the material of individual parts by a DT, but I have not had chance to try that yet.
Hope this helps.
CorBlimeyLimey
Barrie, Ontario
FAQ559-863
RE: Assembly material macro
RE: Assembly material macro
I was - and he did. So at least I didn't get coal.....
OK, OK, It's a reference to my holiday sig. "Be naughty - Save Santa a trip..."
RE: Assembly material macro
RE: Assembly material macro
Perhaps your macro would be of help. We are using SW2004 but it may work anyway. I would appreciate it if you would forward a copy to the address indicated in my personal profile.
Perhaps some of the other things that are "in there" could benefit us also.
RE: Assembly material macro
I don't know where to access your email
RE: Assembly material macro
The address should be accessable now. I did not have a check box set.
Sorry for the inconvenience.
Bob Sorg
RE: Assembly material macro
http://www.EsoxRepublic.com/freeware
You can customize the material inputs in the subroutine InitMats in the form frmDensityManager.
http://www.EsoxRepublic.com
RE: Assembly material macro
Very nice written macro.
Thank you,
Bradley
RE: Assembly material macro
I added your website to FAQ559-520.
Scott Baugh, CSWP

http://www.3dvisiontech.com
http://www.scottjbaugh.com
FAQ731-376
RE: Assembly material macro
http://www.EsoxRepublic.com