ArnoXz Posted March 7, 2018 Share Posted March 7, 2018 (edited) Everything is in the title,.... I am new in vectorworks (and in scripting). I have to get de X and Y value from several made 2DPoint (the little cross) and write them into a text box..... as I have hundred to complete, doing repetitive click info object (get copy X / paste X then returning into the info object and get the Y position and paste) takes me days... What would be great is to by simple clicking the 2Dpoint this info would be written into a text box (or like in cote i.e.,... or any other solution would be great :-) thanks in advance for any help / advice... (picture example) Edited March 7, 2018 by ArnoXz Quote Link to comment
Kevin McAllister Posted March 7, 2018 Share Posted March 7, 2018 I would investigate the Stake Object tool. Change the Label Reference setting to "Coordinate Point XY" and maybe turn on "Display Leader Line" in the tool's preferences before you start placing them. It would do what you need and someone might be able to help you write a script to replace your loci (2DPoints are called loci in VW) with stake objects. Kevin Some other threads that might be of interest - Quote Link to comment
ArnoXz Posted March 9, 2018 Author Share Posted March 9, 2018 mmmh, I'm sorry but I do not understand the reference topic.... (I am not good enough to pick up the info and create the script --> got bug error (and I do not really now what I'm doing/looking at,...)) If someone could build me something that would extract under a click the X and Y position (of a selected point, a click to a point,...) and insert it into an "infobulle (french release of vw).... this would save my 5 next days :-)... Perhaps this screenshot would help to understand in an easy way.... thanks a lot in advance if you think this would be possible, if someone got a spare time for this... I thanks him/her in advance... Quote Link to comment
Kevin McAllister Posted March 9, 2018 Share Posted March 9, 2018 Is there a reason you need to use the Callout "infobulle"? I've attached a simple file with some Stake Objects in it. It is designed to show co-ordinates on a drawing. It is a single click to insert. You can also offset the co-ordinates like a callout by selecting the stake and dragging the blue handle that appears. The only option missing is the ability to have the marker shown as an arrow. Kevin Stake Object.vwx Quote Link to comment
ArnoXz Posted March 12, 2018 Author Share Posted March 12, 2018 On 09/03/2018 at 4:19 PM, Kevin McAllister said: Thanks for your reply, could you please convert / export the file (Stake Object) to wv 2017 ?! I can't open a 2018 file format under VW 2017.... thanks Quote Link to comment
Kevin McAllister Posted March 12, 2018 Share Posted March 12, 2018 Here's a VW 2017 version of the file. KM Stake Object v2017.vwx Quote Link to comment
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.