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.

Image Fill Help Required Please!

JGoode
Expert
Hello,

I am having some issues with my image fill poly2_b{5}'s. In the image, the picture on the left shows an example of how every preview of the object looks. The image on the right shows how the object is intended to look including the image fill.

Here is the definition of the image fill:
define image_fill 'red' "Red_Image_Fill",
        255, 255, 255, 255, 255, 255, 255, 255,
        0.001, 0.001, 0, 0


Here is the code with it being used:
		FILL "red"
		poly2_b{5}      12,      3,      0,      3,     20,    20, 
						   0,            0,            1,            0,            0,            1,            0, 
				0.003011396909279, -0.012,      0, 
				0.008011396909279, -0.012,    900, 
						   0,          180,   4000, 
				0.008011396909279, -0.012,    900, 
						   0,          180,   4000, 
				0.003011396909279, -0.012,     -1, 
				0.01201139690928, -0.012,      0, 
				0.008011396909279, -0.012,    900, 
						   0,         -180,   4000, 
				0.008011396909279, -0.012,    900, 
						   0,         -180,   4000, 
				0.01201139690928, -0.012,     0
	
		FILL "red"
		poly2_b{5}       7,      3,      0,      3,     20,    20, 
						   0,            0,            1,            0,            0,            1,            0, 
				0.004365269360967, -0.01497020610398,      0, 
				0.007369079672544, -0.0126431290699,    900, 
						   0, 14.79244119691,   4000, 
				0.01167139690928, -0.009047580068978,      0, 
				0.00858285669353, -0.01142894928346,    900, 
						   0, 14.41018743141,   4000, 
				0.004365269360967, -0.01497020610398,      0
It has both the foreground showing in the preview as well as dashed lines running horizontal.

Any help would be appreciated. If you are able to point out any errors in my scrip I'd be grateful.

Image Fill.jpg
ArchiCAD 23

Windows 10
4 REPLIES 4
JGoode
Expert
Here is the Element Attributes Fill Types settings for the image fill
ArchiCAD 23

Windows 10
JGoode
Expert
Found out the cause of the horizontal lines! The issue now is just getting the image fill to show up in preview and when scheduling.
ArchiCAD 23

Windows 10
runxel
Legend
JGoode wrote:
Found out the cause of the horizontal lines!
Then please share so everybody can profit 😉
Lucas Becker | AC 27 on Mac | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
JGoode
Expert
runxel wrote:
JGoode wrote:
Found out the cause of the horizontal lines!
Then please share so everybody can profit 😉
It was actually just in the Model View Options, it happens when you override the Fill Background Colour in the fill display settings. Very simple, but I just didn't work it out.
ArchiCAD 23

Windows 10