Changing Appearance Scale with Ilogic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I've been playing with altering appearance properties with ilogic for some parts I'm authoring to CC. When they are saved as custom they revert back to the standard material library values. I've pieced together changing RGB colour values but am having issued with texture scales.
I've been using this post and replacing the rotation for scale:
https://adndevblog.typepad.com/manufacturing/2015/11/texture-rotation-in-the-inventor-api.html
The example file works well with timbers and many others but not all appearances. The specific one I was looking to change was "Autodesk Appearance Library\Galvanized". Using the API help sample code to draw down all of the appearance information it seems 'Galvanized' (and other appearances) does not have the asset value texture_RealWorldScaleX despite having a texture present.
The attached screenshot shows the texture scale can be changed in the UI. Also attached is the Galvanized output from the appearance info VBA script in the sample file.
Can any of you provide some insight into this?
Thanks,
Glenn