Default base point with copy object.

Default base point with copy object.

Mark_Geurds
Enthusiast Enthusiast
4,868 Views
10 Replies
Message 1 of 11

Default base point with copy object.

Mark_Geurds
Enthusiast
Enthusiast

Hi,

 

I've found this (https://knowledge.autodesk.com/support/fabrication-products/learn-explore/caas/CloudHelp/cloudhelp/2...) but is there a way to set the centre of an object as default when copy/pasting objects instead of the bottom left corner?

 

It will make copying my circles and rectangulars a lot easier!

 

Thanks in advance

0 Likes
Accepted solutions (1)
4,869 Views
10 Replies
Replies (10)
Message 2 of 11

pendean
Community Legend
Community Legend
If you want to control the basepoint when pasting objects, you need to use COPYBASE command (CTRL+SHIFT+C) to select your desired basepoint to start with (and hope your UCS is not rotated differently).

0 Likes
Message 3 of 11

imadHabash
Mentor
Mentor

Hi,

you can achieve it by Ctrl+Shift+C

Imad Habash

EESignature

0 Likes
Message 4 of 11

Mark_Geurds
Enthusiast
Enthusiast

@Anonymous 

 

I know ctrl-shift-c, thats what it says in the link i've posted. But the default setting with copying something (without selecting basepoint) it that the basepoint is the lowerleft corner, and I want to know if it is possible to change the default (lowerleft) to centre of object. This is because I do not want to have to select the basepoint every copy-action I do. So I'm hoping that it is changeable...

0 Likes
Message 5 of 11

Mark_Geurds
Enthusiast
Enthusiast
0 Likes
Message 6 of 11

pendean
Community Legend
Community Legend
We know what you meant: you don't get the option to chose another option than lower-left corner with the core command, that's why CTRL+SHIFT+C exists and why everyone is suggesting it.
0 Likes
Message 7 of 11

Kent1Cooper
Consultant
Consultant

A custom command could certainly be made to find the midpoint of whatever you select, and apply it in a COPYBASE command to the same selection.  Would it always be a single object, or might you sometimes want it to find the overall midpoint of multiple selected objects?  Would it always be a Circle or a closed Polyline rectangle, or might it sometimes be other things?

Kent Cooper, AIA
0 Likes
Message 8 of 11

Mark_Geurds
Enthusiast
Enthusiast

@pendean  Okay, thank you!

0 Likes
Message 9 of 11

Mark_Geurds
Enthusiast
Enthusiast

@Kent1Cooper 

 

A custom command could certainly be made to find the midpoint of whatever you select, and apply it in a COPYBASE command to the same selection.  Would it always be a single object, or might you sometimes want it to find the overall midpoint of multiple selected objects?  Would it always be a Circle or a closed Polyline rectangle, or might it sometimes be other things?

 

How can one create such custom commands? Sidenote, I'm still a beginner and don't use the program very often (Inventor as main). I mostly draw circles, lines and rectangulars. 

 

I am going to try to use ctrl+shift+c next time but I just wanted to know if this could be done easier since in my work it is so much more 'obvious' to use centres (with allignement) f.e. copying a circle to the four corners of a rectangle.]

 

Thanks in advance

0 Likes
Message 10 of 11

Kent1Cooper
Consultant
Consultant
Accepted solution

@Mark_Geurds wrote:

@Kent1Cooper 

A custom command could certainly be made ....

 

How can one create such custom commands? ....


This is the kind of thing we do over in the Customization Forum.

 

I tried a quick AutoLisp routine, which seems to work in minimal testing.  Put the attached CopyBaseMidpoint.lsp file in some known location, and in a drawing, use the APPLOAD command [AP is the default command alias], navigate to where you put it, and select and Load it.  It will give you notice at the command line of the command name to use.  Type the command name CBM [which stands for CopyBase using Midpoint], and it will ask you to select an object, and use its midpoint for the Base in a COPYBASE command.  Then you can paste it as usual.

 

It calculates the midpoint of the bounding box [the overall extents in all coordinate directions] of the selected item, which will be the center of a Circle, the middle of a rectangle, and the midpoint of a Line, but you can pick any kind of drawn object.  It would be possible, if preferred, to amend it to allow selection of more than one object, and use the overall midpoint of the bounding area of all of them.

 

If it works for you, there is a way to put it into a Tool Palette button you can pick, instead of typing in the command name every time.  And there is also a way to have it automatically loaded in every drawing you open.

Kent Cooper, AIA
Message 11 of 11

Mark_Geurds
Enthusiast
Enthusiast

@Kent1Cooper 

 

Thanks for you reply. I will definitly try to implement this since I think this will do the trick more than enough. I have to look up what certain 'things' are (such as a Lisp) but I think I can manage. Thanks again.

0 Likes