DxfDocumentModifyEntities Method (ListEntityObject, NullableVector3, NullableVector3, NullableVector3, NullableVector3, NullableInt16, String, String)
|
Modifies the position, rotation and scaling of a list of entities.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public void ModifyEntities(
List<EntityObject> Entities,
Vector3? BasePoint = null,
Vector3? Traslation = null,
Vector3? Scale = null,
Vector3? Rotation = null,
short? ACIColor = null,
string LayerName = "",
string LineTypeName = ""
)
Public Sub ModifyEntities (
Entities As List(Of EntityObject),
Optional BasePoint As Vector3? = Nothing,
Optional Traslation As Vector3? = Nothing,
Optional Scale As Vector3? = Nothing,
Optional Rotation As Vector3? = Nothing,
Optional ACIColor As Short? = Nothing,
Optional LayerName As String = "",
Optional LineTypeName As String = ""
)
public:
void ModifyEntities(
List<EntityObject^>^ Entities,
Nullable<Vector3> BasePoint = nullptr,
Nullable<Vector3> Traslation = nullptr,
Nullable<Vector3> Scale = nullptr,
Nullable<Vector3> Rotation = nullptr,
Nullable<short> ACIColor = nullptr,
String^ LayerName = L"",
String^ LineTypeName = L""
)
member ModifyEntities :
Entities : List<EntityObject> *
?BasePoint : Nullable<Vector3> *
?Traslation : Nullable<Vector3> *
?Scale : Nullable<Vector3> *
?Rotation : Nullable<Vector3> *
?ACIColor : Nullable<int16> *
?LayerName : string *
?LineTypeName : string
(* Defaults:
let _BasePoint = defaultArg BasePoint null
let _Traslation = defaultArg Traslation null
let _Scale = defaultArg Scale null
let _Rotation = defaultArg Rotation null
let _ACIColor = defaultArg ACIColor null
let _LayerName = defaultArg LayerName ""
let _LineTypeName = defaultArg LineTypeName ""
*)
-> unit
METHOD ModifyEntities(
Entities AS List<EntityObject>,
BasePoint AS Nullable<Vector3> := NULL,
Traslation AS Nullable<Vector3> := NULL,
Scale AS Nullable<Vector3> := NULL,
Rotation AS Nullable<Vector3> := NULL,
ACIColor AS Nullable<SHORT> := NULL,
LayerName AS STRING := "",
LineTypeName AS STRING := ""
) AS VOID
Parameters
- Entities
- Type: System.Collections.GenericListEntityObject
A list of entity objects to modify. - BasePoint (Optional)
- Type: SystemNullableVector3
The base point for scaling and rotation. - Traslation (Optional)
- Type: SystemNullableVector3
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 entities data in the drawing's database.
See Also