Jump to content

Recommended Posts

Posted

I made a drawing which contains lots of circles with a diameter of 12 and some lines that connect them. Pretty simple.

 

But.. i made the drawing with a x.xx precision (2 numbers and the program that has to load the .dxf file only likes all objects on the x. precision.. so no tents or hundredths precision.

 

I changed the precision from "0.00" to "0" in the unit settings but... the objects in my drawing still hanging on the old coordinates.

 

Is there any simple function or way to bulk action all this objects to the correct precision grid? I worked out that it is possible to select the circles which are in 1 horizontal line with each other and then change the Y setting to (for example) 45.0 if it was at 45 In this way it will put the circles on the correct grid. But... i have 1400 circles and lines ;)

 

I also saw that the X coordinates of the circles in a horizontal line are different (ofcourse) and will be mentioned in autocad with *VARIES* I thought maybe can do something like *VARIES*.0 to put them on the correct grid but this kind of things didn't work. Hope someone can help me out. I think there is a simple answer to this.

Posted

Don't understand the problem:cry:

45, 45.0, 45.00, 45.000 are all the exact same point, there should be no moving involved?

Posted

Did you try running the drawing through the program after you changed the precision? I would think that that would work. If it doesn't, you were on the right track. You have to work the objects one grid line at a time. Do all the objects near an all X axis grid lines one line at a time and then do the Y axis grid lines.

 

This can probably be accomplished in LISP using a wild card like your thoughts on "VARIES". We'll have to awit and see if someone can come up with the code.

Posted

I expect that the next time you do such a drawing (if there will be a next time) you will turn your Snap on with a spacing of 1, and draw them to the correct coordinate in the first place.

Posted

Thanks for all the answers !

 

@EZrider714: Yes, should be the same but.. If i draw a circle on coordinate 50.012 by 67.120 and then change the drawings precision to 0 instead of 0.000 then the circle will not change its position to 50 by 67. It will still be on the 50.012 by 67.120 coordinate. That is the problem for the program which i want to load in the drawing.

 

@RobDraw: I think i need to move all the circles by hand to the correct snap and some can do in bulk if they are in one line with each other. Hope someone knows some inbedded coding too so this can be done with big bulk actions.

 

@Eldon: ... yes ofcourse. This time i got the drawing from a sign builder which used the 0.000 precision and just started to hatch everything with circles.

 

Anyway. If someone knows the correct way then that would be helpful to know for a next time. For now i had another solution. Save it to .bmp and change the pixels a bit and import it in the final program.

Posted

if the program only can do 50. nothing.Where will it put the circle you have drawn at 50.012? I'm guessing it would round it to 50 What other choice could it make with no decimal places available to it? How would it know that you have it at 50.012?

 

I've never encountered a program that couldn't round from a greater precision to a lesser precision, especially when talking 3 or more decimal places.

Posted

Can you use Data Extraction to extract all the circle coordinates?

 

If you can, then put the coordinates into Excel, and set the number format to 0. Save as a csv file and redraw all the circles with those coordinates.

Posted

@Ezrider714: You still don't get it. My program can't. It's for controlling huge amounts of light points which you can freely place where you want and still can show video content on it. You can see it as a dynamic LED screen. The program can't work with the precision as i explained. And like i said, if you put the drawing it's precision to 0.nothing possition then from then on you can only draw on this position but all already drawn objects will still remain on the 0.00 grid. If you see the properties of such an object then the precision sais 65.nothing for example but the circle isn't placed on that one. If i fill in 65.0 in this box then it wil snap to the correct grid. To much work to do that with all circles.

 

@Eldon: Good idea. I will try to work this out.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...