Message 1 of 3
remove pic in material appearance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to remove the image in the default material used when importing a Step file. But I can't find a solution.
If someone has an idee please share it with me. I'm trying at first in part and scale it later to assembly.
Thanks
Dim invDoc As Document Set invDoc = ThisApplication.ActiveDocument If invDoc.DocumentType = kPartDocumentObject Then 'create object color/look Dim oAsset As Asset Dim oLib As AssetLibrary: Set oLib = ThisApplication.AssetLibraries("Autodesk Appearance Library") Set oAsset = oLib.AppearanceAssets("Generic") Dim pcd As PartComponentDefinition Set pcd = invDoc.ComponentDefinition invDoc.ActiveAppearance = oAsset 'Next