 | APIaddSectFromLib(String, Boolean) Method |
Add a section from library
REST path: /section/add/fromlib/[doNotCenter]
REST verb: POST
REST body: name
Namespace: NextFEMapiAssembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntaxpublic int addSectFromLib(
string name,
bool doNotCenter = false
)
Public Function addSectFromLib (
name As String,
Optional doNotCenter As Boolean = false
) As Integer
Dim instance As API
Dim name As String
Dim doNotCenter As Boolean
Dim returnValue As Integer
returnValue = instance.addSectFromLib(name,
doNotCenter)
public:
int addSectFromLib(
String^ name,
bool doNotCenter = false
)
member addSectFromLib :
name : string *
?doNotCenter : bool
(* Defaults:
let _doNotCenter = defaultArg doNotCenter false
*)
-> int
Parameters
- name String
- Name of the section
- doNotCenter Boolean (Optional)
- Optional. Do not center the section, useful for sections by points
Return Value
Int32ID of the added section, 0 if not found
See Also