All Frameworks  Class Hierarchy  This Framework  Indexes

SPAcstr Global Function api_solid_block


outcome api_solid_block( const SPAposition& pt1,
const SPAposition& pt2,
BODY*& block,
AcisOptions* ao= NULL )
Creates a solid block given two diagonal positions.

Role: This API creates a solid block aligned with the current WCS with corners at the specified points (pt1 and pt2). The edges of the block are parallel to the axes of the active WCS.

Errors: Two given positions are identical. X- and/or Y-coordinates of the two points are equal (only Z-coordinates may be equal, yielding a sheet body in XY plane).

Effect: Changes model

Journal: Available

Parameters:
pt1
first position.
pt2
position diagonally opposite pt1.
block
created block returned.
ao
acis options.

This object is included in the file: cstrapi.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.