Help - Copy by object to same object

Any way to copy from object to another object, same format, another object? It looks confused, I don’t know if you could understand.

Hello - do you mean you’d like to copy object attributes - layer, color, material etc etc from one object to another? MatchProperties may be what you are after… otherwise I need an example.

-Pascal

No Pascal, i mean copy like copy by point, but, same angle. Something like “Copybygem” from Rhinogold, you know? Copy from object “A”, the object “B” to multiples objects “A”, same angle, adjusting to each position. Got it?

Like copy the cutter from this gem to those gems, adjusting the angle to each one

Orient or Orient3Pt
https://docs.mcneel.com/rhino/7/help/en-us/index.htm#commands/orient.htm
https://docs.mcneel.com/rhino/7/help/en-us/index.htm#commands/orient3pt.htm

1 Like

OrientOnSrf may also help here.

-Pascal

1 Like

Yes, I already use Orient and OrientOnSrf. I’m looking for something that I don’t have to do one by one, something like copy from something, but with “automatic adjustment”. There are like hundreds a day, one by one is something that slows me down a lot, looking for something more efficient :slight_smile:

Yep, that sort of operation is why Rhinogold and other plug-ins exist.

-Pascal

1 Like

Got it, thx :stuck_out_tongue:

If the source <> target objects were all block instances it would be relatively easy to script. Is that the case?

Yes, it is the same format as the object that will be copied from, exactly as in the image above. The cutter should align with the objects it was copied from

Are the objects you are trying to align Block Instances ?
AFAIK in Rhino only block instances are “aware” of their position based on block insertion point and plane, so based on that info they could be mass-aligned together. Otherwise it would not work, or at leas could be difficult in all cases, depending on the objects geometry.
Maybe you could upload a sample file.

1 Like

ill try send to you an example

Here is a script that would do it, provided that the destination objects and source objects are block instances:
AlignBlocksByXformPlanes.rvb (976 Bytes)

1 Like

Coooool! I’ll try it!