Click or drag to resize

APIaddDrawing Method

Add a drawing export to the model
REST path: /model/drawing/[name]/[group]/[plane]/[scaleDenom]/[paperX]/[paperY]/[asMember]
REST verb: POST
REST body: elems

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.8.0.0 (2.8.0.0)
Syntax
public bool addDrawing(
	string name,
	string[] elems,
	string group,
	int plane,
	float scaleDenom,
	double paperX,
	double paperY,
	bool asMember = false
)

Parameters

name  String
Name of the construction drawing
elems  String
List of elements to be rendered. Choose a list of elements or a group
group  String
Name of group to be rendered. Choose a list of elements or a group
plane  Int32
Plane applicable only when a group is selected. "XY"=0, "XZ"=1, "YZ"=2
scaleDenom  Single
paperX  Double
Size of the paper in cm. It affects layout
paperY  Double
Size of the paper in cm. It affects layout
asMember  Boolean  (Optional)
Option applicable only when a group is selected. If active, renders the group as a member (horizontal development)

Return Value

Boolean
True if successful
See Also