M

Create

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2021).
Identical to 2021: 2022, 2023, 2024
Not present in: 2020
2021 current
DirectShapeType.Create(Document, String, ElementId, DirectShapeTypeOptions)
document Document The document that will contain the new element. Must be a project document.
name String Name of the DirectShapeType.
categoryId ElementId Id of the category assigned to this DirectShapeType. Must be a valid category id.
options DirectShapeTypeOptions Options that can be used to control the behavior of DirectShapeType being created.
→ returns DirectShapeType The new DirectShapeType.
DirectShapeType.Create(Document, String, ElementId, DirectShapeTypeOptions)
document Document The document that will contain the new element. Must be a project document.
name String Name of the DirectShapeType.
categoryId ElementId Id of the category assigned to this DirectShapeType. Must be a valid category id.
options DirectShapeTypeOptions Options that can be used to control the behavior of DirectShapeType being created.
→ returns DirectShapeType The new DirectShapeType.
DirectShapeType.Create(Document, String, ElementId, DirectShapeTypeOptions)
document Document The document that will contain the new element. Must be a project document.
name String Name of the DirectShapeType.
categoryId ElementId Id of the category assigned to this DirectShapeType. Must be a valid category id.
options DirectShapeTypeOptions Options that can be used to control the behavior of DirectShapeType being created.
→ returns DirectShapeType The new DirectShapeType.
DirectShapeType.Create(Document, String, ElementId, DirectShapeTypeOptions)
document Document The document that will contain the new element. Must be a project document.
name String Name of the DirectShapeType.
categoryId ElementId Id of the category assigned to this DirectShapeType. Must be a valid category id.
options DirectShapeTypeOptions Options that can be used to control the behavior of DirectShapeType being created.
→ returns DirectShapeType The new DirectShapeType.