api_solid_block
List of: Functions
Subjects: Construction Geometry, Model Geometry
Contents: Constructors

Action: Creates a solid block given two diagonal positions.

Prototype: outcome api_solid_block (


const SPAposition& pt1, // first position


const SPAposition& pt2, // position diagonally




// opposite pt1


BODY*& block, // created block returned


AcisOptions* ao = NULL // acis options


);

Includes: #include "kernel/acis.hxx"

#include "constrct/kernapi/api/cstrapi.hxx"

#include "kernel/kernapi/api/api.hxx"

#include "kernel/kerndata/top/body.hxx"

#include "baseutil/vector/position.hxx"

#include "kernel/kernapi/api/acis_options.hxx"

Description: 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.

Library: constrct

Filename: cstr/constrct/kernapi/api/cstrapi.hxx

Effect: Changes model
PDF/CSTR/04FN.PDF
HTM/DATA/CSTR/CSTR/04FN/0089.HTM