Copy Entities

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
ditel
Posts: 31
Joined: 06 Feb 2020, 12:21

Copy Entities

Post by ditel » 29 Oct 2020, 14:42

Hi

it is posible copy one Entitie from one Vdrawing structure to other one in the same proyect

in our proyect we have two structures cadimage

Public vDrawing As CADImage
Public vDrawing2 As CADImage

our question is it posible copy one entitie from vDraving to vDrawing2 maintaining all of its position values in the design. for example copy an Arc feature and keep its center point Start point start angle and end angle values but with a. NumberOfPartsInCircle different from the vDrawing

Thanks

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Copy Entities

Post by support » 30 Oct 2020, 10:35

Hello,

Please try to use a DeepCloneObject method from the following code example: viewtopic.php?f=15&t=10437#p22351

Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

ditel
Posts: 31
Joined: 06 Feb 2020, 12:21

Re: Copy Entities

Post by ditel » 30 Oct 2020, 11:43

thanks Mikhail

Post Reply