Click or drag to resize

APIaddCircleInSection Method

Add a circular figure in the selected section
REST path: /section/add/addcirc/[sectionID]/[diameter]/[centerX]/[centerY]/[isEmpty]/[material]/[doNotCenter]
REST verb: GET

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public bool addCircleInSection(
	int sectionID,
	double diameter,
	double centerX,
	double centerY,
	bool isEmpty = false,
	int material = 0,
	bool doNotCenter = false
)

Parameters

sectionID  Int32
ID of the section
diameter  Double
Diameter
centerX  Double
Center X
centerY  Double
Center Y
isEmpty  Boolean  (Optional)
Optional, True if figure is a hole
material  Int32  (Optional)
Optional, ID of the figure material
doNotCenter  Boolean  (Optional)
Optional, avoid section centering

Return Value

Boolean
True if successful
See Also