DesignScript
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Issue with Transparen cy
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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??
Re: Issue with Transparen cy
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
You may try x-ray visual style to create transparent objects.
Re: Issue with Transparen cy
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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."
Re: Issue with Transparen cy
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: Issue with Transparen cy
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
It seems that Color property on AutoCAD entity deson't have alpha value, but it has a separate Transparency property. And the default value for transparency is set ByLayer hence changing layer transparency overrides entity transparency.
So I think the alpha value in DesignScript should be mapped to Transparency property of the entity. This seems like a limitation at this point.
Re: Issue with Transparen cy
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.

