AutoCad :: Routine To Move Objects To Absolute 0 / 0 Position
Jan 21, 2014
So I have a lot of 2D drawings (a couple thousand roughly) that I need to go through and shift the objects within to the absolute 0,0 position. That way, when we insert them into a new drawing, everything is centered appropriately and not way off the screen.
Instead of:
Open File > Select Objects > "MOVE" > Specify Basepoint > " * 0 , 0 " > Center View on Newly position Objects > Save File > Close File
... Repeat ...
By way of a LISP routine, or a script that could automatically do the above steps on it's own. Even something that doesn't require me to hit *, then tab, then 0, then tab, then 0 again.
1. when I creat a new object he stays at position 0,0,0 and I only can move when I transform in some editable. 2.this happend when I try to construct bones TOO, and I can create whitohou the zeros point, when I click the bones are creating in same point in viewport.
I all ready try to press x, see the snap toogle, dont like to be an Axis constrain, try to restar to default config.
I was hoping to create a JS script to move objects away from common center based upon their current position. I was thinking to use a single selected path item as the center based on its position x/y and width/height. Using this reference point the script would then move away all other path items from this center point based on a desired amount and with uniform increments given their current location from this center. I was thinking cos and sin would be my friend in this case, however they seem to have become my foe instead. ;-)
Does this sound doable? What am I missing, doing wrong, misinterpreting? Below is a non-working attempt, I can't seem to sort things out, perhaps I was close and missed it or maybe I am super way off and its more complex than I thought. However at this point I am confused across my various failed attempts this only being one of them.
// Example failed code, nonworking concept var docID = app.activeDocument; var s0 = docID.selection[0]; pID = docID.pathItems; var xn, yn; var stepNum = 20;
I am still having trouble moving objects to precise coordinates. For instance, the thing I drew may be in the correct position in the x-y plane but I want to move it in the positive z direction a precise number of units. Or move it along the y axis by specifying where I want it to be not how far I want it to move.
I'm working on a routine to find orphaned objects in .idw files. So far, I've found it relatively simple to find orphaned dimensions, balloons, surface texture symbols and centerlines/marks, but I'm having trouble with leaders (such as for tapped holes, etc.) and weld symbols.
I've tried iterating through a drawing's SketchedSymbols collection, but it seems that this collection always has zero size, and unlike the items I've been successful with so far, I cannot find a specific collection for those items either within the sheet or drawingview objects.
Any Lisp Routine to scale text objects a certain value and have the program actually scale each text object as you pick them.
The change text height using the Properties function does not work for what I need because the objects I need to scale are Mtext objects with Background Mask, and when you use the Properties function to change their text height it messes up the background mask so that you have to select each text entity and stretch the mask area smaller or larger, but if you use the scale function it scales the background mask as well so the background mask coverage is still the same.
So a friend created a model using zbrush and exported several different *.OBJ files. I imported those to maya and added shaders. They all fit correctly together when imported.
some of those obj files required me to do a mesh->combine. so now it appears that not every item has the same reference point so that when I move or scale the entire item, some of the objects move seperately. I think it is only the ones I had to combine.
I tried freeze transformations, but when doing that, some of the objects lost their scale settings and still didnt move together as one unit.
I'm in Photoshop CC 3D, and I have a simple scene with one complex object. I can't find any way to move the position of the camera beyond the default positions, like top, front, back. I can do it CS6, but I can't do it in CC. I can rotate the object, but I want to keep the object where it is. I want to move the camera.
I'm trying to line up two images one on top of the other with opacity set so I can see both.in Liquefy (CS4). One is background, the other is Layer 1. How do I move either one roughly in place over the other so I can start adjusting edges so the two profiles match? Hand doesn't move anything.
I'm creating a sprite sheet and I need to move my sprites to a specific location.
For example my sprite is 120x120, so I need to place the 5th animated frame at EXACTLY 120x5=600 pixels from zero or at 600, 0. I can't seem to find a way of doing this in GIMP, it shows me a mouse delta position from where I first clicked?
Is there a way to change the selection position and size by entering the numbers exactly? I find it difficult to make pixel perfect movements and it is tiresome to use the keyboard arrows to do this.
When something is selected, the position and size appear in the bottom left corner. Perhaps clicking on this could bring up a window that would let the user enter exact values.
With an object selected and the Selection tool active, I press Return to get the Move dialog box.
For some reason, there seem to be random values entered in the Horizontal and Vertical fields. Instead, I just want the boxes to always start at 0 so that I can decide where it moves, instead of having to clear these fields manually.
When in CS6 I want to be able to move my image where ever I want it, by default it's centered on the workspace. Because my palettes are on the right and I use quit a bit of them it's better when I can move the image moire to the left.
Is there any way to enter exact position coordinates ( x, y) and dimensions for objects in P'shop? For example, putting a photo in an exact position and sizing it by other than dragging handles with the mouse?
This is a recent phenomonom, the shade of objects changes depending on their vertical position on the artboard. If I move an object from the top of the artboard to the bottom it becomes lighter, and these changes remain even after it is saved as a png- this is driving me crazy!!! it is very slight, but still enough to cause a headache. If you look at this image you can see that the top blue box is slightly darker than the blue box at the bottom, event though this is the exact same box copied and pasted down the artboard.
I'm new to Maya, so this is likely something I'm just missing or that I've done without realizing it, however...
I've created a scene with a few polygonal objects. As an example, imagine a house with plants around it and a cloud above. The plants are spaced evenly along a curve, and the cloud is also made using a Paint Effect with a Modifier around it to control it's shape using slight forces, etc.
However, when it's done and I select the entire group of objects to drag to a different position, weird things happen. The plants seem to move much more quickly in that direction, so that soon they're no longer positioned where they should be at the base of the house, and the clouds move in the opposite direction from where I'm dragging (i.e. down not up). What I'll call the 'normal' polygonal objects (e.g. the house, car, etc.) all move fine, but I cannot figure out how to fix the other items so everything maintains its relative position, or lock the whole scene together to move as a group.
I've tried to combine them, and even 'parent' everything to the house, but I suspect I've changed something like a control handle position or rotated something that now moves opposite the normal xyz directions.
I have a program that creates a drawing. I want to move all of the objects (lines, blocks, arcs...) from one point to another. I was using the SendStringToExecute, but it doesn't seem to work. Here is the section of code I have:
Dim newCenterX As Double newCenterX = (rightXCoord + ((leftXCoord - rightXCoord) / 2)) startpt = New Geometry.Point3d(newCenterX, 0, 0) endpt = New Geometry.Point3d(0, 0, 0) ' Move the objects from newCenterX to 0 acDoc.SendStringToExecute("._move all startpt endpt ", True, False, False) acDoc.SendStringToExecute("._zoom _all ", True, False, False)
This will select all of the objects in the drawing, but it just doesn't see the start point and end point. It just keeps prompting me to enter the start and end points manually. Is there a way to pass the variables to the command? Is there another way of moving the objects?
I have a weird issue with basic use xref in AutoCad 2012. There are two files complementary, (an elevation , one is masonry, the other windows). One is refering to the other with x-ref for a complete view (in overlay). From time to time some objects from the xref file are brought into the master file. This seems to happen randomly, like not all objects from a layer are moves for instance. These are usually blocks that are taken from the xref file. And when I discover them in the master drawing they are exploded too. So I have to clean my drawing up from all that scrap. It happen like twice a week.
I have some viewports in paper space and when I resize the view port, the objects inside move in a strange way. I don't know if a variable got reset or something but this is weird. Normally I can resize a viewport and the objects stay in the same location. But now they seem to be moving relative to the edge of the viewport.
I have AutoCAD Map 3D 2013. How do I copy/move objects such as lines and arces between layers that are in the Task Pane window, not the regular layers? I can't find the Layer Manager.
Is it possible to setup a block so that an attribute position remaines fixed (absolute to drawing) when moving the block?
I've been playing around with creating a Coordinate Block by following these instructions: [URL] ........
What I would like is to be able to set the position of the Coordinate Label and Coordinate Object independently, so that if I move one in the drawing, it doesn't move the other. I've looked into Dynamic Blocks, and the "Lock Position" parameter. I can move the attribute independently, but still everytime I move the block, the attribute moves too.
Our company uses a custom Sheet/Coordinate system to follow flyoffs across a drawing, and I'm trying to learn how to automate the process. It's completely manually right now, so any changes to a drawing creates a lot of work renumbering these flyoffs.
If i want to move 2D objekts with basepoint to the coordinate 0,0,0 - what i have to do?
In other PC older Autocad was it simply command "move", selecting objects, pointing basepoint and then typing "0,0,0" and object were there! Now the object doesnt move atall. (Can move only to showing second point in screen-but thisway its not possible to catsh exactly point 0,0,0).
I use Acad and Turbocad selectively. I can't find a way to enable Acad to have object handlers to move and rotate objects. Is there a setting that I can enable to turn this feature on in Acad? I like this feature in Turbocad, but like to have in Acad.
I am struggling to create absolute coordinates on my autocad. I've done it before and tried on different computers drawing the same shape and it works but for some reason when i enter the points into autocad on my comp a line is created instead of a triangle.
what a saturday night with the drawing ok here is the point when we draw a rectangle, we can see the properties about it (pr ENTER) But i want to see absolute angle value . Or absolute rotation, doesn't matter how to call it.
You can see it for line, but can't for rectangle or polyline.