Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Rahul.Khande
in reply to: Jef_E

Thank you for your suggestions.

Asset asset = partDoc.Assets.Add(AssetTypeEnum.kAssetTypeMaterial, "Test Material", "Test Material");
partDoc.ActiveMaterial = asset;

I tried above code by adding asset material and then using asset as ActiveMaterial but still it didn't work.

 

Any other work around you would suggest ?