Anonymous
in reply to:
Anonymous
06-22-2016
10:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-22-2016
10:31 AM
Hi,
You can put there condition if material name is "steel" then change material.
To error you got: Do you have material named 1.4307 on your material library?
You can translate vba to ilogic quite easy, just take "set" off from lines. Also "on error resume next is not supported in ilogic, but you can use try-catch-method instead.
It would be also good to put condition that checks that part is not content center component. Through api material can be chaged to library components also...even though it should not be possible.
I haven't used iassemblies very much so I can't answer to this issue.
You can put there condition if material name is "steel" then change material.
To error you got: Do you have material named 1.4307 on your material library?
You can translate vba to ilogic quite easy, just take "set" off from lines. Also "on error resume next is not supported in ilogic, but you can use try-catch-method instead.
It would be also good to put condition that checks that part is not content center component. Through api material can be chaged to library components also...even though it should not be possible.
I haven't used iassemblies very much so I can't answer to this issue.