 | APIsetSectionProperty Method |
Set selected property of a section. To change name or code properties, use renameSection method.
REST path: /section/prop/[ID]/[name]/[value]
REST verb: POST
Namespace: NextFEMapiAssembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntaxpublic int setSectionProperty(
string ID,
string name,
double value
)
Public Function setSectionProperty (
ID As String,
name As String,
value As Double
) As Integer
Dim instance As API
Dim ID As String
Dim name As String
Dim value As Double
Dim returnValue As Integer
returnValue = instance.setSectionProperty(ID,
name, value)
public:
int setSectionProperty(
String^ ID,
String^ name,
double value
)
member setSectionProperty :
ID : string *
name : string *
value : float -> int
Parameters
- ID String
- ID of the section
- name String
- Name of the property: Area, Jxc, Jyc, Jxyc, Jt, Iw, shAreaX, shAreaY, or custom value to be added
- value Double
- Value to be stored
Return Value
Int321 if native propery has changes, 2 if custom property is added, 0 in case of error
See Also