public interface MultipleElementCreateBuilder extends Builder
MultipleElementCreateBuilder
which can be used to create
mutiple elements in one efficient opertation.
ElementTypeBuilder
and the
properties of ElementTypeBuilder.elementTypeName()
and ElementTypeBuilder.setElementTypeName(java.lang.String)
startLabel()
and setStartLabel(int)
and
labelIncrement()
and setLabelIncrement(int)
addElement(nxopen.cae.FENode[])
Builder.commit()
or
commitElements()
. Commiting the builder removes
the current element defintions so that it can be reused to create more elements.NodeElementManager.createMultipleElementCreateBuilder(int)
Modifier and Type | Method and Description |
---|---|
void |
addElement(FENode[] nodes)
Adds new element definition defined by the list of input
FENode
objects. |
void |
addElement(FENode[] nodes,
int label)
Adds new element definition defined by the list of input
FENode
objects. |
FEElement[] |
commitElements()
Commits the Builder, which creates elements as they were defined and returns the newly create elements.
|
ElementTypeBuilder |
elementType()
Returns the element type builder.
|
int |
labelIncrement()
Returns the label increment used when calculating next element label when assigning element labels
License requirements: None. |
void |
setLabelIncrement(int increment)
License requirements: nx_masterfem ("Finite Element Modeling") . |
void |
setStartLabel(int label)
License requirements: nx_masterfem ("Finite Element Modeling") . |
int |
startLabel()
Returns the starting label used to assign element labels, if no explicit labels were defined.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
int startLabel() throws NXException, RemoteException
NXException
RemoteException
void setStartLabel(int label) throws NXException, RemoteException
label
- NXException
RemoteException
int labelIncrement() throws NXException, RemoteException
NXException
RemoteException
void setLabelIncrement(int increment) throws NXException, RemoteException
increment
- NXException
RemoteException
ElementTypeBuilder elementType() throws NXException, RemoteException
ElementTypeBuilder
you can
specify both the type of element to create as well as the destination
MeshCollector
the new elements will be placed in.
NXException
RemoteException
void addElement(FENode[] nodes) throws NXException, RemoteException
FENode
objects. New element will be created only after
commitElements()
is done. Since element labels weren't specified, the builder
will assign them automatically based on the setting of
startLabel()
and setStartLabel(int)
and labelIncrement()
and setLabelIncrement(int)
nodes
- input list of nodesNXException
RemoteException
void addElement(FENode[] nodes, int label) throws NXException, RemoteException
FENode
objects. New element will be created only after
commitElements()
is done.
nodes
- input list of nodes, The number
of nodes and the order of the nodes
must be consistent with the
defined element type.label
- new FEElement label. If the specified label is
less than or equal to 0 then the builder will
automatically assign a valid label based on the
builders labeling rules.
If a label is specified it must be unique in this part.NXException
RemoteException
FEElement[] commitElements() throws NXException, RemoteException
Builder.commit()
will also do the same thing
except instead of returning elements, it will return the newly created Mesh
which
contains the new elements.
Builder.getCommittedObjects()
can't be used to return elements since they are not of type NXObject
. It will however
return the newly created Mesh
NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.