Copy & Pasting a single object to multiple 'similar objects'

Copy & Pasting a single object to multiple 'similar objects'

Anonymous
Not applicable
1,955 Views
4 Replies
Message 1 of 5

Copy & Pasting a single object to multiple 'similar objects'

Anonymous
Not applicable

Hi

 

In my drawing I have hundreds of similar objects (identical circle-like objects with the same name) & I want to paste a single 3D object onto the center point of each of those similar objects but I lack the macro knowledge to do so. I  want to avoid individually placing each 3D object.

My previous strategy was to select all similar objects, identify their centers and then paste the 3D object onto the center but I have not had success with this as of yet.

 

Thanks for any help or script you can provide.

1,956 Views
4 Replies
Replies (4)
Message 2 of 5

tboehler
Collaborator
Collaborator

Are your"objects" a block?  If so its easy to edit the block (add the 3D object) within the drawing.   This will make your 3d object part of the original block.  

0 Likes
Message 3 of 5

AllenJessup
Mentor
Mentor

If you can create a Point Style that contains the object as the marker. You can use Dataextraction to create an X,Y,Z file to import as ponts with that style. Then explode the points if necessary.

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 4 of 5

Jeew-m
Mentor
Mentor

Hi,

As Allen says you can extract the center of all the objects.

Then you can use dynamo to place a 3D object on the center coordinates.

That would not be a big deal. Just have a look at dynamo forum.



Jeewana Meegahage
Design Engineer
Autodesk Civil 3D Tutorials
Facebook | YouTube | LinkedIn







0 Likes
Message 5 of 5

KirkWM
Collaborator
Collaborator

Here is the dynamo version, literally took me 5 min to make this post but sorry it took a month for this thread to be found 😄. Selection technique might vary depending, like you could select all circles in model space or only on a particular layer, I just used selection window. The convert to geometry might vary as well depending on the type of objects you are working with, again I used plain circles to demo.

 

 

KirkWM_0-1629417867429.png

 

Circle Centers v0_2021-08-19_05-03-40.png

 

0 Likes