Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 945 Bytes

Width.md

File metadata and controls

46 lines (37 loc) · 945 Bytes

Width

Description

Returns the width of an object matching the search criteria. If more than one object matches the search criteria, the function will return the sum of the matching object widths.

FUNCTION Width(c : CRITERIA): REAL;
def vs.Width(c):
    return REAL

Parameters

Name Type Description
c CRITERIA Search criteria.

Examples

VectorScript

WidthValue:=Width(N='Box');

Python

{====================================================================}
{	PROCEDURE DrawBeam2DWidth;	Draws the 2D Width (rectangle) Joist representation
{====================================================================}
PROCEDURE DrawBeam2DWidth;
BEGIN
	{ draw the 2D bounding rectangle of the Joist}
result = vs.Width(c)

Version

Availability: from All Versions

Category