Create
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2020).
2020
current
DirectShapeType.Create(Document, String, ElementId)
| 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. |
| → returns | DirectShapeType | The new DirectShapeType. |
DirectShapeType.Create(Document, String, ElementId)
| 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. |
| → returns | DirectShapeType | The new DirectShapeType. |
DirectShapeType.Create(Document, String, ElementId)
| 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. |
| → returns | DirectShapeType | The new DirectShapeType. |
DirectShapeType.Create(Document, String, ElementId)
| 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. |
| → returns | DirectShapeType | The new DirectShapeType. |