We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Changing display color

RandyC
Advocate
Is there way to change the 2d trees, pine trees 22 , Evergreen 22 , Deciduous Trees 22 to show a lighter color?
They change to "foggy 1" & "foggy 2" but I would like to make them lighter - more subdued -
is there something in the script I could change? or are they a picture file that I could change?

Thanks Randy
ArchiCAD 4.5 --- 27 , Win 10 , dual monitors, 64 gb ram,Nvidia GeforceRTX 2080 TI, I-9
8 REPLIES 8
Barry Kelly
Moderator
I can tell you they are images that are embedded in the library part.
I can't tell you if or how you can extract them to edit them.

I know t is a pain, but you could try a % fill (transparent background pen and white hatch pen) to place over the object.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
RandyC
Advocate
Thanks Barry I have already used masking fills but was hoping for a more permanent solution.
I suspected the images were not accessible.

Randy
ArchiCAD 4.5 --- 27 , Win 10 , dual monitors, 64 gb ram,Nvidia GeforceRTX 2080 TI, I-9
Barry Kelly
Moderator
RandyC wrote:
I suspected the images were not accessible.
No, they have been saved inside the objects and are not images than can be seen anywhere.
It may be possible to extract them with the LP_XMLConvertor, but I have never tried this.

http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool

Then if you did extract the files you would have to modify and convert them back into the object.
Or re-write the object so it could now access the new external image files.
A fair bit of work I would think.

You could possibly add an option to the object (you would need to save as a new object) to add a masking fill that could be switched on/off and the fill type changeable for various shading effects.
I think that would be easier than extracting and modifying the images.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
RandyC
Advocate
both options seem like a bit of work, I probably wouldn't be sucessful with the first but adding the masking
fills might be the answer -- good idea - thanks,
Randy
ArchiCAD 4.5 --- 27 , Win 10 , dual monitors, 64 gb ram,Nvidia GeforceRTX 2080 TI, I-9
RandyC
Advocate
i tried adding this for the masking fill at the end of the script -- didn't work ,
any thoughts of what i did wrong ?

Randy


!!!!!!!!!!!!!!!!!!!!!!! ADD A MASKING FILL!!!!!!!!!!!!!!!!!!!!!!!!
!! add2 A/B, B/2
if mf then

poly2_b(5), 4, 3, 0, FD, maskpen, BKC,
-A/2, -B/2, 0,
-A/2, B/2, 0,
A/2, B/2, 0,
A/2, -B/2, 0
! DEL 1
endif
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ArchiCAD 4.5 --- 27 , Win 10 , dual monitors, 64 gb ram,Nvidia GeforceRTX 2080 TI, I-9
vistasp
Advisor
POLY2_B{5} needs curly brackets.
= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-27 INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |
RandyC
Advocate
Thanks Vistasp I got it working !!! Good solution and presents better.

Randy
ArchiCAD 4.5 --- 27 , Win 10 , dual monitors, 64 gb ram,Nvidia GeforceRTX 2080 TI, I-9
vistasp
Advisor
That's great!
= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-27 INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |