Neko_Akatsuki Posted December 6, 2017 Share Posted December 6, 2017 This is the coordinate of the CAD I exported DWGfile to VectorWorks After importing the file , the location is correct , but axis X,Y is opposite see the X→Y , Y→X............how i do , let Vectoeworks X→X , Y→Y... Quote Link to comment
0 Pat Stanford Posted December 6, 2017 Share Posted December 6, 2017 What tools are you using to generate the two label objects? Quote Link to comment
0 Neko_Akatsuki Posted December 7, 2017 Author Share Posted December 7, 2017 7 hours ago, Pat Stanford said: What tools are you using to generate the two label objects? Left is AutoCAD2017 coordinate mark tool Right is VectorWorks2017 stake tool Screenshot background is VectorWorks2017 I gat the label objects process Import single DXF/DWG → Import Options→ Location → Align with Internal Origin Can see this Next step , I use Stake tool , and mark a position , Then you can see the difference Quote Link to comment
0 Pat Stanford Posted December 7, 2017 Share Posted December 7, 2017 What happens when you use the Stake tool in a new file without the DWG import? If you turn on the rulers, which is correct, the Stake object or the imported coordinate marks? Can you post the DWG (or a DWG) that causes this problem? Quote Link to comment
0 Neko_Akatsuki Posted December 7, 2017 Author Share Posted December 7, 2017 1 minute ago, Pat Stanford said: What happens when you use the Stake tool in a new file without the DWG import? If you turn on the rulers, which is correct, the Stake object or the imported coordinate marks? Can you post the DWG (or a DWG) that causes this problem? The file LP-3.00.dwg Quote Link to comment
0 Pat Stanford Posted December 7, 2017 Share Posted December 7, 2017 I am not positive, but I think you are out of luck. It looks to me like they drew this sideways. Look at the differential values between the points. Find 2 points that are about twice as far apart vertically as they are horizontally. Put in contained dimensions to get the vertical and horizontal separation. It looks like the vertical dimension added to the X value and the horizontal dimension added to the Y value give the X and Y values of the second point. You might be able to group all the objects and rotate the group 90 degrees and then use the User Origin to set the point values to the right place, but I don't have enough information on where the data is coming from to figure that out right now. What is the units in the DWG? 1000 inches? When I imported it as meters I was off by a factor of 25.4, so that tells me it is in inches not meters, but the absolute values are certainly not inches. You will need to get the units right to be able to properly move the origin and get the right points. One of the Origin options is to se the next point to an XY value. Or if it really doesn't matter, just use a text search and replace and swap all the Xs to Q, all the Ys to Xs, and finally all the Qs to Ys. Then the values will match the reality of Y being up and down the page and X being across the page. Quote Link to comment
0 Neko_Akatsuki Posted December 7, 2017 Author Share Posted December 7, 2017 26 minutes ago, Pat Stanford said: I am not positive, but I think you are out of luck. It looks to me like they drew this sideways. Look at the differential values between the points. Find 2 points that are about twice as far apart vertically as they are horizontally. Put in contained dimensions to get the vertical and horizontal separation. It looks like the vertical dimension added to the X value and the horizontal dimension added to the Y value give the X and Y values of the second point. You might be able to group all the objects and rotate the group 90 degrees and then use the User Origin to set the point values to the right place, but I don't have enough information on where the data is coming from to figure that out right now. What is the units in the DWG? 1000 inches? When I imported it as meters I was off by a factor of 25.4, so that tells me it is in inches not meters, but the absolute values are certainly not inches. You will need to get the units right to be able to properly move the origin and get the right points. One of the Origin options is to se the next point to an XY value. Or if it really doesn't matter, just use a text search and replace and swap all the Xs to Q, all the Ys to Xs, and finally all the Qs to Ys. Then the values will match the reality of Y being up and down the page and X being across the page. Thank you for your help~~~ See you say " just use a text search and replace and swap all the Xs to Q, all the Ys to Xs " , this is what I want . Quote Link to comment
0 Pat Stanford Posted December 7, 2017 Share Posted December 7, 2017 Text Menu Find-Replace Text... Replace All, Text Objects, Find String X=, Replace With Q= Replace All, Text Objects, Find String Y=, Replace With X= Replace All, Text Objects, Find String Q=, Replace With Y= All the labels should then read with X and Y that match the values returned by the stake tool. Quote Link to comment
0 Vectorworks, Inc Employee Nina Ivanova Posted December 7, 2017 Vectorworks, Inc Employee Share Posted December 7, 2017 This DWG uses a custom coordinate system. Converting the UCS back to the World Coordinate System and changing the Plan to Current shows the coordinates in the way you see them after importing in Vectorworks. Original DWG Updated DWG (LP-3.00-WCS.dwg) and coordinates there DWG file is set to Unitless, so you have to ask the originator of the file what are the exact units there. As coordinates, reported by AutoCAD are 1000 times bigger then the X and Y text (except that they are switched), then during import in Vectorworks you will need to set that 1000 DXF/DWG Units are converted to 1 VW Unit. For example, if the X and Y text in the DWG refers meters, then set your VW document units to meters, and from the DXF/DWG Import Options dialog choose the Units settings as shown on one of the images: or Then you will receive the following: Hope this helps, Nina Quote Link to comment
0 Vectorworks, Inc Employee Nina Ivanova Posted December 7, 2017 Vectorworks, Inc Employee Share Posted December 7, 2017 And the updated DWG, which shows the reversed coordinates: LP-3.00-WCS.dwg Quote Link to comment
0 Pat Stanford Posted December 7, 2017 Share Posted December 7, 2017 Thanks Nina. I was hoping you would chime in. Is this an import that VW should be able to handle? Or is this something strange enough on the AutoCAD side that it is really just an edge case that should not be handles automatically by VW? Quote Link to comment
0 Vectorworks, Inc Employee Nina Ivanova Posted December 8, 2017 Vectorworks, Inc Employee Share Posted December 8, 2017 Pat, coordinates are reversed in the DWG file. There is nothing we can do on DWG import. Quote Link to comment
0 Pat Stanford Posted December 8, 2017 Share Posted December 8, 2017 Perfect. I just wanted to get it documented that the file was drawn strangely in AutoCAD (or where ever it came from) and is not a limitation in what VW does and should do. Thanks. Quote Link to comment
Question
Neko_Akatsuki
This is the coordinate of the CAD
I exported DWGfile to VectorWorks
After importing the file , the location is correct , but axis X,Y is opposite
see the X→Y , Y→X............how i do , let Vectoeworks X→X , Y→Y...
Link to comment
12 answers to this question
Recommended Posts
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.