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

Hi,

 

Here is how I do it :

 

Dim oAppearence As Asset
oAppearence = oDoc.Assets.Add(kAssetTypeAppearance, "Generic", "Appearances")

Dim oColor As ColorAssetValue
oColor = oAppearence.Item("generic_diffuse")

oColor.Value = ThisApplication.TransientObjects.CreateColor(0,145,255)

oExtrude1.Appearance = oAppearence

 oExstrude1 is set before hand.

 

Regards,

 

FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill