M

AnalyticalModelSurface.SetLoops

Description:
Set new analytical model geometry (newLoops) for analytical surface elements such as floors and slabs.
Remarks:
Analytical surface will be automatically generated from provided newLoops. Number of newLoops and number of curves in each newloop have to correspond to loops number with the same loopType in element. To verify number of loops and their type use getLoops method. Currently you can not set arbitrary shape for analytical walls. For walls false will be returned.
public bool SetLoops(
	AnalyticalLoopType loopType,
	IList<CurveLoop> newLoops
)
Return Value bool False if setting the new location failed for one or more curves. True if setting new location succeeded for all curves.
  • Thrown when number of newLoops is different from number of current loops considering loopType. -or- Thrown when number of curves in each loop in newLoop don't correspond to number of curves in current loop. -or- Thrown when type of curves in newLoop differ from number of curves in current loop (eg. line changed to arc). -or- Thrown when length of any curve in newLoops is invalid. -or- Thrown when new loops intersect themselves or intersect with loops already set in analytical model.
  • A non-optional argument was null
  • A value passed for an enumeration argument is not a member of that enumeration