Click or drag to resize

DxfDocumentModifyEntity Method (EntityObject, NullableVector3, NullableVector3, NullableVector3, NullableVector3, NullableInt16, String, String)

Modifies the position, rotation and scaling of an entity.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public void ModifyEntity(
	ref EntityObject Entity,
	Vector3? BasePoint = null,
	Vector3? Traslation = null,
	Vector3? Scale = null,
	Vector3? Rotation = null,
	short? ACIColor = null,
	string LayerName = "",
	string LineTypeName = ""
)

Parameters

Entity
Type: DXFReaderNET.EntitiesEntityObject
The entity to modify.
BasePoint (Optional)
Type: SystemNullableVector3
A Vector3 containing the base point for scaling and rotation.
Traslation (Optional)
Type: SystemNullableVector3
A Vector3 containing the new traslation point.
Scale (Optional)
Type: SystemNullableVector3
A Vector3 containing new scaling factor on the x, y and z directions.
Rotation (Optional)
Type: SystemNullableVector3
A Vector3 containing new rotation angles around the x, y and z axis in degree.
ACIColor (Optional)
Type: SystemNullableInt16
A number for 0 to 256 corresponding to the new AutoCAD Color Index (0 = ByBlock; 256 = ByLayer).
LayerName (Optional)
Type: SystemString
The new layer name.
LineTypeName (Optional)
Type: SystemString
The new linetype name.
Remarks
All trasformations are about the BasePoint point. This method will change the entity data in the drawing's database.
See Also