Create
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2027).
Not present in: 2020
2027
current
DirectShapeType.Create(Document, String, ElementId, DirectShapeTypeOptions)
| document | Document | Document to which the created element will be added. |
| 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 | Document to which the created element will be added. |
| 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 | Document to which the created element will be added. |
| 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 | Document to which the created element will be added. |
| 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. |