Create
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2022).
2022
current
DirectShapeType.Create(Document, String, ElementId)
| document | Document | Document to which the created element will be added. 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. |
| → returns | DirectShapeType | The new DirectShapeType. |
DirectShapeType.Create(Document, String, ElementId)
| document | Document | Document to which the created element will be added. 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. |
| → returns | DirectShapeType | The new DirectShapeType. |
DirectShapeType.Create(Document, String, ElementId)
| document | Document | Document to which the created element will be added. 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. |
| → returns | DirectShapeType | The new DirectShapeType. |
DirectShapeType.Create(Document, String, ElementId)
| document | Document | Document to which the created element will be added. 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. |
| → returns | DirectShapeType | The new DirectShapeType. |