BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Wishes
Post your wishes about Graphisoft products: Archicad, BIMx, BIMcloud, and DDScad.

RGB backgroundcolour to poly2... comands

Pertti Paasky
Expert
Could it be possible to define RGB backgroundcolour to poly2 - command? It´s usefull to have a non-pencolour -dependent definition to a fill.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
1 REPLY 1
Anonymous
Not applicable
Place this in your script:

!numbers are between 0 and 1. So number 255=1, 100=0.39
RGBPen=REQ("Pen_of_RGB 1 1 1")

POLY2_B 5,7,1,RGBPen,
A/2,B/2,1,
-A/2,B/2,1,
-A/2,-B/2,1,
A/2,-B/2,1,
A/2,B/2,-1

Note: Defines the index of the pen closest to the given color.
Learn and get certified!

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!