2021 Method
Changes 0
M

ProjectLocation.Create

Description:
Create an instance of ProjectLocation in the document.
Remarks:
The created instace of ProjectLocation would have the specified name and an identity Transform.
public static ProjectLocation Create(
	Document document,
	ElementId siteLocationId,
	string name
)
  • document
    The document where the new instance of ProjectLocation would be created in.
  • siteLocationId
    The ElementId of the SiteLocation to which the new ProjectLocation would be created.
  • String
    name
    The name of the instance of ProjectLocation to be created.
Return Value ProjectLocation The newly created instance of ProjectLocation.