public interface AlignmentMethodBuilder extends TaggedObject, IComponentBuilder
Modifier and Type | Interface and Description |
---|---|
static class |
AlignmentMethodBuilder.AlignFillerSurfaceType
Filler surface types
|
static class |
AlignmentMethodBuilder.AllPointsData
This class holds the data returned from
getAllPoints() |
static class |
AlignmentMethodBuilder.Type
Alignment types supported
|
Modifier and Type | Method and Description |
---|---|
int |
addPoint(OnPathDimensionBuilder alignPoint)
Insert a given point, and create corresponding points on other sections.
|
void |
addSection(int sectionIndex,
Section sec)
Add a section at the given index among existing sections.
|
nxopen.Axis |
alignAxis()
Returns the alignment axis
License requirements: None. |
Section |
alignCurve()
Returns the align curve
License requirements: None. |
AlignmentMethodBuilder.Type |
alignType()
Returns the alignment type
License requirements: None. |
nxopen.Direction |
alignVector()
Returns the alignment vector
License requirements: None. |
void |
computeDefaultPoints()
Calculate default alignment points on existing sections.
|
OnPathDimensionBuilder |
createOnPathDimBuilder(Section sec,
Point3d pnt)
Set the sections.
|
AlignmentMethodBuilder.AlignFillerSurfaceType |
endAlignFillerSurfaceOption()
Returns the end align filler surface option
License requirements: None. |
AlignmentMethodBuilder.AllPointsData |
getAllPoints()
Get all of the alignment points, returns as a single dimension array
License requirements: None. |
OnPathDimensionBuilder |
getPoint(int sectionIndex,
int pointIndex)
Gets an alignment point for a section
License requirements: None. |
int |
numberOfPointsPerSection()
Returns the number of alignment points in each section.
|
int |
numberOfSections()
Returns the number of section in the alignment point block
License requirements: None. |
void |
removeAllPoints()
Remove all alignment points.
|
void |
removePoint(OnPathDimensionBuilder alignPoint)
Remove given point, also remove corresponding points on other sections
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
removeSection(Section sec)
Find and delete the section
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
removeSectionAtIndex(int secIndex)
Remove section at given index
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setAlignAxis(nxopen.Axis alignAxis)
Sets the alignment axis
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setAlignPoints(OnPathDimensionBuilder[] alignPoints)
Set the Alignment Points when sections have been set up.
|
void |
setAlignType(AlignmentMethodBuilder.Type alignType)
Sets the alignment type
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setAlignVector(nxopen.Direction alignVector)
Sets the alignment vector
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setEndAlignFillerSurfaceOption(AlignmentMethodBuilder.AlignFillerSurfaceType fillerSurfaceType)
Sets the end align filler surface option
License requirements: solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM") . |
void |
setSections(Section[] sections)
Set the sections.
|
void |
setStartAlignFillerSurfaceOption(AlignmentMethodBuilder.AlignFillerSurfaceType fillerSurfaceType)
Sets the start align filler surface option
License requirements: solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM") . |
AlignmentMethodBuilder.AlignFillerSurfaceType |
startAlignFillerSurfaceOption()
Returns the start align filler surface option
License requirements: None. |
void |
unloadSections()
Unload sections held by the builder
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
updateSectionAtIndex(int secIndex)
Update section at given index
License requirements: solid_modeling ("SOLIDS MODELING") . |
printTestData, printTestData, tag, tagValue
validate
void setSections(Section[] sections) throws NXException, RemoteException
sections
- Array of sectionsNXException
RemoteException
OnPathDimensionBuilder createOnPathDimBuilder(Section sec, Point3d pnt) throws NXException, RemoteException
sec
- The section on which to create the builderpnt
- The point on the sectionNXException
RemoteException
void unloadSections() throws NXException, RemoteException
NXException
RemoteException
void addSection(int sectionIndex, Section sec) throws NXException, RemoteException
sectionIndex
- Where to insert. New section will have this indexsec
- The New sectionNXException
RemoteException
void removeSection(Section sec) throws NXException, RemoteException
sec
- Existing section within the AlignmentNXException
RemoteException
void removeSectionAtIndex(int secIndex) throws NXException, RemoteException
secIndex
- The index of the section to removeNXException
RemoteException
void updateSectionAtIndex(int secIndex) throws NXException, RemoteException
secIndex
- The index of the section to removeNXException
RemoteException
void computeDefaultPoints() throws NXException, RemoteException
NXException
RemoteException
AlignmentMethodBuilder.AllPointsData getAllPoints() throws NXException, RemoteException
NXException
RemoteException
int numberOfSections() throws NXException, RemoteException
NXException
RemoteException
int numberOfPointsPerSection() throws NXException, RemoteException
NXException
RemoteException
OnPathDimensionBuilder getPoint(int sectionIndex, int pointIndex) throws NXException, RemoteException
sectionIndex
- Section on which to query the alignment pointpointIndex
- Alignment point indexNXException
RemoteException
void setAlignPoints(OnPathDimensionBuilder[] alignPoints) throws NXException, RemoteException
alignPoints
- Sets the points on the section, numPoints is total number of points for all sectionsNXException
RemoteException
void removeAllPoints() throws NXException, RemoteException
NXException
RemoteException
int addPoint(OnPathDimensionBuilder alignPoint) throws NXException, RemoteException
alignPoint
- Pt to insertNXException
RemoteException
void removePoint(OnPathDimensionBuilder alignPoint) throws NXException, RemoteException
alignPoint
- Pt do deleteNXException
RemoteException
AlignmentMethodBuilder.Type alignType() throws NXException, RemoteException
NXException
RemoteException
void setAlignType(AlignmentMethodBuilder.Type alignType) throws NXException, RemoteException
alignType
- NXException
RemoteException
nxopen.Direction alignVector() throws NXException, RemoteException
NXException
RemoteException
void setAlignVector(nxopen.Direction alignVector) throws NXException, RemoteException
alignVector
- NXException
RemoteException
nxopen.Axis alignAxis() throws NXException, RemoteException
NXException
RemoteException
void setAlignAxis(nxopen.Axis alignAxis) throws NXException, RemoteException
alignAxis
- NXException
RemoteException
Section alignCurve() throws NXException, RemoteException
NXException
RemoteException
AlignmentMethodBuilder.AlignFillerSurfaceType startAlignFillerSurfaceOption() throws NXException, RemoteException
NXException
RemoteException
void setStartAlignFillerSurfaceOption(AlignmentMethodBuilder.AlignFillerSurfaceType fillerSurfaceType) throws NXException, RemoteException
fillerSurfaceType
- NXException
RemoteException
AlignmentMethodBuilder.AlignFillerSurfaceType endAlignFillerSurfaceOption() throws NXException, RemoteException
NXException
RemoteException
void setEndAlignFillerSurfaceOption(AlignmentMethodBuilder.AlignFillerSurfaceType fillerSurfaceType) throws NXException, RemoteException
fillerSurfaceType
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.