public interface FacetedBody extends DisplayableObject
Modifier and Type | Interface and Description |
---|---|
static class |
FacetedBody.FacetedbodyType
Body type .
|
DisplayableObject.ObjectFont, DisplayableObject.ObjectWidth
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
Body |
associatedBody()
Returns
the solid body associated with this facet body.
|
FacetedBody.FacetedbodyType |
bodyType()
Returns the type of the body.
|
void |
destroyOwnedFacets()
Destroys all
IFacet objects owned by this body. |
FacetedEdge[] |
getEdges()
Returns the edges in the faceted body.
|
FacetedFace[] |
getFaces()
Returns the faces in the faceted body.
|
int |
getNumberOfEdges()
Returns the number of edges in the faceted body.
|
int |
getNumberOfFacets(int levelOfDetail)
Get the number of facets in the given level of detail.
|
FacetingParameters |
getParameters()
Get the faceted body parameters
License requirements: None. |
boolean |
hasLightWeightAnalytics()
Returns whether the FACET has analytical information.
|
boolean |
hasTopologyInformation()
Returns whether the FACET has topology information.
|
boolean |
isAssemblyLevel()
Returns
a flag indicating this is an assembly level representation.
|
boolean |
isAssociatedBodyLoaded()
Returns
the load state of the solid body associated with this facet body.
|
boolean |
isSheetBody()
Deprecated.
Deprecated in NX8.5.1. Use
bodyType() instead
|
boolean |
isSolidBody()
Deprecated.
Deprecated in NX8.5.1. Use
bodyType() instead.
|
int |
numberOfFaces()
Returns
the number of faces in this faceted body in the highest level of detail.
|
int |
numberOfLevelsOfDetail()
Returns
the number of levels of detail in this faceted body.
|
void |
setParameters(FacetingParameters parameters)
Set the faceted body parameters, it will retessellate the body with the new parameters
License requirements: None. |
double |
surfaceArea()
Returns
the surface area of the faceted body in part units for its
highest level of detail.
|
double |
volume()
Returns
the volume of the faceted body in part units for its
highest level of detail.
|
blank, color, highlight, isBlanked, layer, lineFont, lineWidth, nameLocation, redisplayObject, removeViewDependency, setColor, setLayer, setLineFont, setLineWidth, setNameLocation, unblank, unhighlight
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
FacetedBody.FacetedbodyType bodyType() throws NXException, RemoteException
NXException
RemoteException
int numberOfLevelsOfDetail() throws NXException, RemoteException
NXException
RemoteException
int getNumberOfFacets(int levelOfDetail) throws NXException, RemoteException
levelOfDetail
- level of detail to queryNXException
RemoteException
FacetedFace[] getFaces() throws NXException, RemoteException
NXException
RemoteException
int getNumberOfEdges() throws NXException, RemoteException
NXException
RemoteException
FacetedEdge[] getEdges() throws NXException, RemoteException
NXException
RemoteException
boolean hasTopologyInformation() throws NXException, RemoteException
NXException
RemoteException
boolean hasLightWeightAnalytics() throws NXException, RemoteException
NXException
RemoteException
double volume() throws NXException, RemoteException
NXException
RemoteException
double surfaceArea() throws NXException, RemoteException
NXException
RemoteException
FacetingParameters getParameters() throws NXException, RemoteException
NXException
RemoteException
void setParameters(FacetingParameters parameters) throws NXException, RemoteException
parameters
- new facetting faceting parameters to set for this bodyNXException
RemoteException
int numberOfFaces() throws NXException, RemoteException
NXException
RemoteException
boolean isSheetBody() throws NXException, RemoteException
bodyType()
instead
NXException
RemoteException
boolean isSolidBody() throws NXException, RemoteException
bodyType()
instead.
NXException
RemoteException
boolean isAssemblyLevel() throws NXException, RemoteException
NXException
RemoteException
boolean isAssociatedBodyLoaded() throws NXException, RemoteException
NXException
RemoteException
Body associatedBody() throws NXException, RemoteException
NXException
RemoteException
void destroyOwnedFacets() throws NXException, RemoteException
IFacet
objects owned by this body.
Please note that this method does not geometrically delete a facet from its surface mesh leaving a hole.
It only deletes the tagged object created to represent the individual facet.
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.