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

closure in customized windows

Anonymous
Not applicable
Hello every one ,
I have customized a window . it looks good but I have problems I made closure for other default windows
How can I add closure option to my customized windows even by GDL scripting.
thank you in advance.
3 REPLIES 3
Lingwisyer
Guru
The wall closure might be done through a call script hopefully. If it is, it will be "relatively" simple to add.



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
Lingwisyer
Guru
You will need to incorporate the relevant parameters, which is not the easiest thing to do...

! =============================================================================
! Draw the Cavity Closure and turned skins
! =============================================================================

drawindex 50	! Draw Cavity Closure at the top

if gs_bShowNewOnCC & (iTypeDemolitionFill = RENOVATION_FILL_NEW) then
	bCavityCloserLeft	= 0
	bCavityCloserRight	= 0
endif

call "CavityClosure",
	parameters all	refWidth					= refWidth,
					leftWidth					= leftWidth,
					rightWidth					= rightWidth,
					radSill						= radSill,
					radBoard					= radBoard,
					WOD							= WOD,
					offsetSill					= offsetSill,
					offsetBoard					= offsetBoard,
					lineSections				= lineSections,
				! --- Reveal Parameters
					iRevealType					= iRevealType,
					leftRevealPnts				= leftWallholeRevealPnts,
					rightRevealPnts				= rightWallholeRevealPnts,
					iRevealPointsIdx			= iRevealPointsIdx,
					gs_reveal_left				= gs_reveal_left,
					gs_reveal_right				= gs_reveal_right,
					gs_reveal_double_innerLeft	= gs_reveal_double_innerLeft,
					gs_reveal_double_innerRight	= gs_reveal_double_innerRight,
					revealInnerLeft				= revealInnerLeft,
					revealInnerRight			= revealInnerRight,
					gs_reveal_outer_jamb_depth	= gs_reveal_outer_jamb_depth,
					gs_reveal_left_angle		= gs_reveal_left_angle,
					gs_reveal_right_angle		= gs_reveal_right_angle,
					gs_reveal_outerLeft_angle	= gs_reveal_outerLeft_angle,
					gs_reveal_outerRight_angle	= gs_reveal_outerRight_angle,
					gs_mountingFrame			= gs_mountingFrame,
					gs_mountingFrame_depth		= gs_mountingFrame_depth,
				! --- Macro Control Parameters
					bWndCurved					= gs_IsCurved,
					bParalellInCurvedWalls 		= bParalellInCurvedWalls,
					iClosureType				= iClosureType,
					bCavityCloserLeft			= bCavityCloserLeft,
					bCavityCloserRight			= bCavityCloserRight,
					bDrawObjContourIn			= bDrawObjContourIn,
					bDrawObjContourOut			= bDrawObjContourOut,
					bDrawFrameContourLeft		= bDrawFrameContourLeft,
					bDrawFrameContourRight		= bDrawFrameContourRight,
					bCornerWindow				= bRightCornerFunction,
					bLeftCornerFunction			= bLeftCornerFunction,
					fillWallHole				= gs_wallhole_fill,
					penWallHoleFg				= gs_wallhole_pen_fg,
					penWallHoleBg				= gs_wallhole_pen_bg,
					iWallContourLine			= iWallContourLine,
					gs_wcont_line_in			= gs_wcont_line_in,
					gs_wcont_line_out			= gs_wcont_line_out,
					penWallContour				= gs_wcont_line_pen,
					gs_left_oversize			= gs_left_oversize,
					gs_right_oversize			= gs_right_oversize,
				! --- Ganging
					gs_stack_left				= gs_stack_left,
					gs_stack_right				= gs_stack_right,
					gs_bAutoTurnIn				= gs_bAutoTurnIn,
					gs_bOverIn					= gs_bOverIn,
					gs_bAutoTurnOut				= gs_bAutoTurnOut,
					gs_bOverOut					= gs_bOverOut,
				! --- String Resource ---
					stCavityClosureTurnDir		= stCavityClosureTurnDir

Call structure: Window 22 = > GS General Window Macro => GS Corner Window Functions => Wallholestructure
File location: Object Library => Object Library => Macros => Base Macros => CavityClosure

Location is the same for doors and I would assume the same in other AC versions that have the wall closure option.



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
Anonymous
Not applicable
thank you Ling,it seems not easy for me