public interface BlockFeatureBuilder extends FeatureBuilder
FeatureCollection.createBlockFeatureBuilder(nxopen.features.Feature)
Modifier and Type | Interface and Description |
---|---|
static class |
BlockFeatureBuilder.OrientationData
This class holds the data returned from
getOrientation() |
static class |
BlockFeatureBuilder.Types
Represents the block types
|
Modifier and Type | Method and Description |
---|---|
BooleanOperation |
booleanOption()
Returns the boolean option
License requirements: None. |
Feature.BooleanType |
booleanType()
Returns the boolean operation for the block
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
BlockFeatureBuilder.OrientationData |
getOrientation()
Gets the orientation (x and y axes) of the block.
|
Expression |
height()
Returns the expression representing the block height.
|
Expression |
length()
Returns the expression representing the block length.
|
Point3d |
origin()
Returns the point coordinates representing the block origin.
|
Point |
originPoint()
Returns the block origin point
License requirements: None. |
boolean |
parentAssociativity()
Returns the option to keep associativity of the Origin and Origin Offset Points
License requirements: None. |
Point |
pointFromOrigin()
Returns the point which defines values along the x, y axes of the WCS from origin point, when type is two point and height.
|
void |
setBooleanOperationAndTarget(Feature.BooleanType booleanOperation,
Body targetBody)
Set the boolean operation for creating the block and the boolean operation target body
License requirements: solid_modeling ("SOLIDS MODELING") OR features_modeling ("FEATURES MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
void |
setBooleanType(Feature.BooleanType booleanType)
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
void |
setHeight(String height)
The expression representing the block height.
|
void |
setLength(String length)
The expression representing the block length.
|
void |
setOrientation(Vector3d xAxis,
Vector3d yAxis)
Sets the orientation for the block
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
void |
setOrigin(Point3d origin)
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
void |
setOriginAndLengths(Point3d originPoint,
String lengthExpression,
String widthExpression,
String heightExpression)
Create a block by setting the origin and the block length, width, and height.
|
void |
setOriginPoint(Point blockOriginPoint)
License requirements: None. |
void |
setParentAssociativity(boolean parentAssociativity)
License requirements: solid_modeling ("SOLIDS MODELING") OR features_modeling ("FEATURES MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
void |
setPointFromOrigin(Point blockPointFromOrigin)
License requirements: None. |
void |
setTarget(Body target)
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
void |
setTwoDiagonalPoints(Point3d originPoint,
Point3d cornerPoint)
Create a block by setting two diagonal points, one at the block origin and one at the opposite corner point.
|
void |
setTwoPointsAndHeight(Point3d originPoint,
Point3d cornerPoint,
String heightExpression)
Create a block by setting the block height and two diagonal points in the WCS x-y plane.
|
void |
setType(BlockFeatureBuilder.Types type)
License requirements: None. |
void |
setWidth(String width)
The expression representing the block width.
|
Body |
target()
Returns the target body for the boolean operation (if any) for the block
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING") . |
BlockFeatureBuilder.Types |
type()
Returns the type represented by
BlockFeatureBuilder.Types
License requirements: None. |
Expression |
width()
Returns the expression representing the block width.
|
commitFeature, getFeature, hideInternalParentFeatureAfterEdit, parentFeatureInternal, patchSolutionFlag, patchSurfaceFilename, setParentFeatureInternal, setParentFeatureInternal, setPatchSolutionFlag, setPatchSurfaceFilename, setSurroundingPatchSurfaceFilename, showInternalParentFeatureForEdit, surroundingPatchSurfaceFilename, unsetParentFeatureInternal
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
Expression length() throws NXException, RemoteException
NXException
RemoteException
Expression width() throws NXException, RemoteException
NXException
RemoteException
Expression height() throws NXException, RemoteException
NXException
RemoteException
Point3d origin() throws NXException, RemoteException
NXException
RemoteException
BlockFeatureBuilder.OrientationData getOrientation() throws NXException, RemoteException
NXException
RemoteException
Feature.BooleanType booleanType() throws NXException, RemoteException
NXException
RemoteException
Body target() throws NXException, RemoteException
NXException
RemoteException
void setLength(String length) throws NXException, RemoteException
length
- NXException
RemoteException
void setWidth(String width) throws NXException, RemoteException
width
- NXException
RemoteException
void setHeight(String height) throws NXException, RemoteException
height
- NXException
RemoteException
void setOrigin(Point3d origin) throws NXException, RemoteException
origin
- NXException
RemoteException
void setOrientation(Vector3d xAxis, Vector3d yAxis) throws NXException, RemoteException
xAxis
- yAxis
- NXException
RemoteException
void setBooleanType(Feature.BooleanType booleanType) throws NXException, RemoteException
booleanType
- NXException
RemoteException
void setTarget(Body target) throws NXException, RemoteException
target
- NXException
RemoteException
void setOriginAndLengths(Point3d originPoint, String lengthExpression, String widthExpression, String heightExpression) throws NXException, RemoteException
originPoint
- Block origin pointlengthExpression
- Block length in the WCS x directionwidthExpression
- Block width in the WCS y directionheightExpression
- Block height in the WCS z directionNXException
RemoteException
void setTwoPointsAndHeight(Point3d originPoint, Point3d cornerPoint, String heightExpression) throws NXException, RemoteException
originPoint
- Block origin pointcornerPoint
- Block 2d corner point, diagonal in WCS x-y plane from the block origin point.heightExpression
- Block height in the WCS z directionNXException
RemoteException
void setTwoDiagonalPoints(Point3d originPoint, Point3d cornerPoint) throws NXException, RemoteException
originPoint
- Block origin pointcornerPoint
- Block corner point, diagonal from the block origin pointNXException
RemoteException
void setBooleanOperationAndTarget(Feature.BooleanType booleanOperation, Body targetBody) throws NXException, RemoteException
booleanOperation
- Type of boolean operation.targetBody
- Target body for boolean operation.
Set to a null reference (Nothing in Visual Basic)
for a boolean create operation.NXException
RemoteException
BlockFeatureBuilder.Types type() throws NXException, RemoteException
BlockFeatureBuilder.Types
NXException
RemoteException
void setType(BlockFeatureBuilder.Types type) throws NXException, RemoteException
type
- NXException
RemoteException
Point originPoint() throws NXException, RemoteException
NXException
RemoteException
void setOriginPoint(Point blockOriginPoint) throws NXException, RemoteException
blockOriginPoint
- NXException
RemoteException
Point pointFromOrigin() throws NXException, RemoteException
NXException
RemoteException
void setPointFromOrigin(Point blockPointFromOrigin) throws NXException, RemoteException
blockPointFromOrigin
- NXException
RemoteException
BooleanOperation booleanOption() throws NXException, RemoteException
NXException
RemoteException
boolean parentAssociativity() throws NXException, RemoteException
NXException
RemoteException
void setParentAssociativity(boolean parentAssociativity) throws NXException, RemoteException
parentAssociativity
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.