Accessodb.rootAssembly().instances()[name] odb.steps()[name].frames(i).fieldOutputs()[name].values(i).instance() Instance(...)
This method creates an OdbInstance object from an OdbPart object. Pathodb.rootAssembly().Instance Prototypeodb_Instance&
Instance(const odb_String& name,
const odb_Part& object,
const odb_SequenceSequenceFloat& localCoordSystem);
Required arguments
Optional arguments
Return valueAn OdbInstance object. ExceptionsInvalidNameError.
assignBeamOrientation(...)
This method assigns a beam section orientation to a region of a part instance. Prototypevoid
assignBeamOrientation(const odb_Set& region,
odb_Enum::odb_OrientationMethodEnum method,
const odb_SequenceFloat& vector);
Required arguments
Optional argumentsNone. Return valueNone. ExceptionsNone.
assignMaterialOrientation(...)
This method assigns a material orientation to a region of a part instance. Prototypevoid
assignMaterialOrientation(const odb_Set& region,
const odb_DatumCsys& localCsys,
odb_Enum::odb_AxisEnum axis,
float angle,
odb_Enum::odb_StackDirectionEnum stackDirection);
Required arguments
Optional arguments
Return valueNone. ExceptionsNone.
assignRebarOrientation(...)
This method assigns a rebar reference orientation to a region of a part instance. Prototypevoid
assignRebarOrientation(const odb_Set& region,
const odb_DatumCsys& localCsys,
odb_Enum::odb_AxisEnum axis,
float angle);
Required arguments
Optional arguments
Return valueNone. ExceptionsNone.
getElementFromLabel(...)
This method is used to retrieved an element with a specific label from an instance object. Prototypeodb_Element getElementFromLabel(int label); Required arguments
Optional argumentsNone. Return valueAn OdbMeshElement object. Exceptions
getNodeFromLabel(...)
This method is used to retrieved a node with a specific label from an instance object. Prototypeodb_Node getNodeFromLabel(int label); Required arguments
Optional argumentsNone. Return valueAnOdbMeshNode object. Exceptions
assignSection(...)
This method is used to assign a section to a region on an instance. Prototypevoid
assignSection(const odb_Set& region,
const odb_section& section);
Optional argumentsNone. Return valueNone. Exceptions
AnalyticRigidSurf2DPlanar(...)
This method is used to define a two-dimensional AnalyticSurface object on the instance. Prototypevoid
AnalyticRigidSurf2DPlanar(const odb_String& name,
const odb_SequenceAnalyticSurfaceSegment& profile,
double filletRadius);
Required arguments
Optional arguments
Return valueNone. Exceptions
AnalyticRigidSurfExtrude(...)
This method is used to define a three-dimensional cylindrical AnalyticSurface on the instance. Prototypevoid
AnalyticRigidSurfExtrude(const odb_String& name,
const odb_SequenceAnalyticSurfaceSegment& profile,
double filletRadius,
const odb_SequenceSequenceFloat& localCoordData);
Required arguments
Optional arguments
Return valueNone. Exceptions
AnalyticRigidSurfRevolve(...)
This method is used to define a three-dimensional AnalyticSurface of revolution on the instance. Prototypevoid
AnalyticRigidSurfRevolve(const odb_String& name,
const odb_SequenceAnalyticSurfaceSegment& profile,
double filletRadius,
const odb_SequenceSequenceFloat& localCoordData);
Required arguments
Optional arguments
Return valueNone. Exceptions
RigidBody(...)
This method defines an OdbRigidBody on the instance. Prototypevoid
RigidBody(const odb_Set& referenceNode,
odb_Enum::odb_PositionEnum position,
bool isothermal,
const odb_Set& elset,
const odb_Set& pinNodes,
const odb_Set& tieNodes);
Required arguments
Optional arguments
Return valueNone. Exceptions
getNodeFromLabel(...)
This method is used to retrieved a node with a specific label from an instance object. Prototypeodb_Node getNodeFromLabel(int label); Required arguments
Optional argumentsNone. Return valueAn OdbMeshNode object. Exceptions
getNodeFromLabel(...)
This method is used to retrieved a node with a specific label from an instance object. Prototypeodb_Node getNodeFromLabel(int label); Required arguments
Optional argumentsNone. Return valueAn OdbMeshNode object. Exceptions
nodesLabelsFromNodeTypeFace(...)
Given a sequence of integers defining an element connectivity, this method is used to retrieve the sequence of nodes attached to a specified face of the element based on element type. Prototypeodb_SequenceInt
nodesLabelsFromNodeTypeFace(const odb_SequenceInt& elementNodeLabels,
const odb_String& elementType,
odb_Enum::odb_ElementFaceEnumEnum elementFace);
Required arguments
Optional argumentsNone. Return valueA sequence of Ints specifying the node labels corresponding to the desired element face. Exceptions
MembersThe OdbInstance object can have the following members: Prototypeodb_String name() const;
odb_Enum::odb_DimensionEnum embeddedSpace() const;
odb_Enum::odb_PartTypeEnum type() const;
odb_Node nodes(int i) const;
odb_SequenceNode& nodes() const;
odb_Element elements(int i) const;
odb_SequenceElement& elements() const;
odb_SetRepository& nodeSets() const;
odb_SetRepository& elementSets() const;
odb_SetRepository& surfaces() const;
odb_SequenceSectionAssignment sectionAssignments()\
const;
odb_SequenceBeamOrientation beamOrientations() \
const;
odb_SequenceMaterialOrientation materialOrientations() \
const;
odb_SequenceRebarOrientation rebarOrientations() \
const;
odb_SequenceRigidBody rigidBodies() const;
bool hasAnalyticSurface() const;
odb_AnalyticSurface analyticSurface() const;
| |||||||