I have created a cylinder and applied a color as shown
cyl.Color = Color.ByARGB(
255, 0, 255, 0);
However the transparency does not seem to apply to the object.
I am using different visual styles is there a specific option I should be using??
I'm encountering the same issue. The layer trasparency setting is overriding the ARGB alpha setting. I'm just starting out in DesignScript, so I haven't dug vary far into this, however, the manual states: "For a Color’s alpha, 0 means the object will be completely transparent, while 255 means the object will be completely opaque."
Please try the new version ( 0.3.24.5026) of DesignScript, this issue is fixed.
You can see the "Dwonload new update" notification on top right corner of DesignScript Editor. Clicking the notification button will guide you thru the migration to new update.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.