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.

Project2{4} Usage

Lingwisyer
Guru
Hi all,

When using Project2{4}, is the second set of definitions the infinite cut plane settings as in the guide it says "...(numCutplanes+1)"? Anyway, I am trying to get a projection at a defined height through my object, but I seem to only get the uncut projection...

PROJECT2{4} 5, 90,					!projection_code, angle,
	0, 1+2,								!useTransparency, statusParts,		
	1,									!numCutplanes,
	b/2 + gs_fw_lower - gs_fw_upper,		!cutplaneHeight1, ..., cutplaneHeightn,

	2, 1+2+4+8+64,						!method1, parts1,
	gs_fill_type,							!cutFillIndex1,
	gs_fill_pen, gs_back_pen,				!cutFillFgPen1, cutFillBgPen1,
	0, 0, 0,								!cutFillOrigoX1, cutFillOrigoY1, cutFillDirection1,
	gs_cut_pen,	1,						!cutLinePen1, cutLineType1,
	65,									!projectedFillIndex1,
	19, 19,								!projectedFillFgPen1, projectedFillBgPen1,
	0, 0, 0,								!projectedFillOrigoX1, projectedFillOrigoY1, projectedFillDirection1,
	gs_pen_2D, 1,						!projectedLinePen1, projectedLineType1

	2, 1+2+4+8+64,						!method1, parts1,
	gs_fill_type,							!cutFillIndex1,
	gs_fill_pen, gs_back_pen,				!cutFillFgPen1, cutFillBgPen1,
	0, 0, 0,								!cutFillOrigoX1, cutFillOrigoY1, cutFillDirection1,
	gs_cut_pen,	4,						!cutLinePen1, cutLineType1,
	65,									!projectedFillIndex1,
	19, 19,								!projectedFillFgPen1, projectedFillBgPen1,
	0, 0, 0,								!projectedFillOrigoX1, projectedFillOrigoY1, projectedFillDirection1,
	gs_pen_2D, 4						!projectedLinePen1, projectedLineType1

Also, how do I go about defining the wall closure? Even just simple closing lines matching the wall cut lines.


Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
20 REPLIES 20
Lingwisyer
Guru
At the bottom of the Method section for the Project2{3} command there is a note saying;
Known limitation: lines of the cut part cannot be treated separately,

Which would imply that I cannot have the wall cut use the walls pens, so I guess that what I have now is the best I will get if I stick with using a projection... Might possibly be able to manually do the wall ends with 2D lines and Draworder but that raises issues of overlapping lineweights on any occasion that the cut_pen becomes thicker than the wall_view_pen....



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660