BasicManipulationCommand Class

Implementation for a EditCommand command that provides basic creation and modification operations.

Extends

Implements

Methods

Name Description
constructor(iModel: IModelDb, _str: string): BasicManipulationCommand    
deleteElements(ids: string): Promise<IModelStatus>    
insertGeometricElement(props: GeometricElementProps): Promise<string>    
insertGeometryPart(props: GeometryPartProps): Promise<string>    
onStart(): Promise<string>    
requestElementGeometry(elementId: string, filter?: FlatBufferGeometryFilter): Promise<undefined | ElementGeometryInfo>    
rotatePlacement(ids: string, matrixProps: Matrix3dProps, aboutCenter: boolean): Promise<IModelStatus>    
transformPlacement(ids: string, transProps: TransformProps): Promise<IModelStatus>    
updateEcefLocation(ecefLocation: EcefLocationProps): Promise<void>    
updateGeometricElement(propsOrId: string | GeometricElementProps, data?: ElementGeometryBuilderParams): Promise<void>    
updateProjectExtents(extents: Range3dProps): Promise<void>    

Inherited methods

Name Inherited from Description
ping(): Promise<{ commandId: string, version: string }> EditCommand  
requestFinish(): Promise<string> EditCommand Called when another EditCommand wishes to become the active EditCommand.

Properties

Name Type Description
_str Protected string    
commandId Static string The unique string that identifies this EditCommand class.  

Inherited properties

Name Type Inherited from Description
ctor Accessor ReadOnly undefined EditCommand  
iModel Readonly IModelDb EditCommand The iModel this EditCommand may modify.
version Static string EditCommand  

Defined in

Last Updated: 05 April, 2024