Click or drag to resize

APIaddBeamWithID Method

Add a new beam to the model with the desired ID. Existing results will be deleted.
REST path: /element/add/beamwithid/[n1]/[n2]/[ID]/[sect]/[mat]/[sect2]
REST verb: GET

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public bool addBeamWithID(
	string n1,
	string n2,
	string ID,
	int sect = 0,
	int mat = 0,
	int sect2 = 0
)

Parameters

n1  String
First node ID
n2  String
Second node ID
ID  String
Element ID
sect  Int32  (Optional)
Optional section ID
mat  Int32  (Optional)
Optional material ID
sect2  Int32  (Optional)
Optional section ID of the section at the end of the beam

Return Value

Boolean
True if successful
See Also