M

GenericZone.Create

Description:
Creates a new instance of a generic zone and adds it to the document.
public static GenericZone Create(
	Document doc,
	string name,
	GenericZoneDomainData domainData,
	ElementId levelId,
	IList<CurveLoop> curveLoops
)
  • doc
    The document where the element will be created and added.
  • String
    name
    The name of the generic zone to be created.
  • domainData
    The specific domain requirements for the generic zone.
  • levelId
    The base level on which the generic zone will be created.
  • IList<CurveLoop>
    curveLoops
    The loops that define the lines, curves and areas that overlap or crosses the elements you want to belong to the zone. Multiple loops are allowed, they can be open or closed, but they should be on the same horizontal plane.
Return Value GenericZone The newly created generic zone.