 | APIgetElementProperty Method |
Return selected property of element
REST path: /element/prop/[ID]/[name]
REST verb: GET
Namespace: NextFEMapiAssembly: NextFEMapi (in NextFEMapi.dll) Version: 2.8.1.2 (2.8.1.2)
Syntaxpublic string getElementProperty(
string ID,
string name
)
Public Function getElementProperty (
ID As String,
name As String
) As String
Dim instance As API
Dim ID As String
Dim name As String
Dim returnValue As String
returnValue = instance.getElementProperty(ID,
name)
public:
String^ getElementProperty(
String^ ID,
String^ name
)
member getElementProperty :
ID : string *
name : string -> string function getElementProperty(ID, name);
Parameters
- ID String
- ID of the element
- name String
- Name of the property: num, angle, groupE, isJoint, isTruss, isPlaneStress, lun, mat,
member, offsetI, offsetJ, sect, set2, sprProp,
type (1 line, 2 tria, 3 quad, 4 hexa, 5 wedge, 6 tetra, spring 40, 20 line3, 21 quad8, 23 hexa20, 24 tetra10, 25 tria6, 26 wedge15), types (type as string)
Return Value
StringThe requested value as string. Empty in case of error
See Also