Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.33 KB

File metadata and controls

37 lines (31 loc) · 1.33 KB

GetCWPanelFromPt

Description

Returns information about a panel in a curtain wall from a given point.

Used for placing objects inside a panel in a curtain wall. When passing the center point of the object in the wall, it will find the panel in the curtain wall and return a new center point and the height and width of the panel.

FUNCTION GetCWPanelFromPt(
				hWall              : HANDLE;
				testPt             : POINT;
				includeBottomFrame : BOOLEAN;
				VAR centerPt       : POINT;
				VAR width          : REAL;
				VAR height         : REAL): BOOLEAN;
def vs.GetCWPanelFromPt(hWall, testPt, includeBottomFrame):
    return (BOOLEAN, centerPt, width, height)

Parameters

Name Type Description
hWall HANDLE Handle to the curtain wall
testPt POINT Point to test on the curtain wall. Typically the center point of the object to be placed in the curtain wall panel.
includeBottomFrame BOOLEAN Include the bottom frame in the return height.
centerPt POINT Returns the center point of the rectangle in witch to place the object.
width REAL The width of the rectangle in which to place the object.
height REAL The height of the rectangle in which to place the object.

Version

Availability: from Vectorworks 2014

Category