Chris D Posted October 18, 2012 Share Posted October 18, 2012 Why is the Stake Object in Vectorworks (2012) so bad as a coordinate marker?? It's completely half assed. It annoys the hell out of me that Nemetshek makes me look like an amateur when I issue setting-out coordinates. A site engineer had a go at me again today about our coordinates showing the Northing above the Easting when UK practice is the opposite - I just had to say that the engineers at the American CAD company don't get out of the office much, or ever ask their users how the Real World works. He also asked me to include some AOD values (elevation values) on some of the site coordinates...and what do you know VW can't do that while displaying Eastings and Northings. It can do X,Y,Z but not E,N,Z. Grrrr. I want NV Inc to correct the functionality in 2012. I'm not putting this on the Wish List because we aren't buying any more of this BudgetCad stuff. Quote Link to comment
Chris D Posted October 18, 2012 Author Share Posted October 18, 2012 Where did I put my grumpyface avatar? Quote Link to comment
Bryan G. Posted October 18, 2012 Share Posted October 18, 2012 Chris, I totally agree with you. as a layout by coordinate tool it is useless. I am also frustrated that it will not auto number. I cannot stakeout 1000 #1s. Quote Link to comment
Christiaan Posted October 18, 2012 Share Posted October 18, 2012 Stake tool makes you look amateur? How about walls on setting out drawings that move unexpectedly because a component was removed? Or how about not actually being able to issue drawings because lines are showing through from the back of elevations, due to the hatched planar objects workflow promoted in this video? Quote Link to comment
Yoginathaswami Posted November 18, 2012 Share Posted November 18, 2012 Hi, Bryan: I searched the forum and bump into this thread. I was hoping if I post a question you would answer it. Looks like you are facing the same issue?...manually changing all the ID number! I will add to the wish list. Auto numbering would be very much appreciated. Label Reference with ID, Description and Elev. will very useful to me too! Quote Link to comment
Bryan G. Posted November 18, 2012 Share Posted November 18, 2012 I did have an auto numbering script written by Matt Panzer, I will find the script and see if Matt would like it posted. And yes this tool needs a major overhaul! Quote Link to comment
IanH Posted November 18, 2012 Share Posted November 18, 2012 I use stake object quite a lot. I have a number of scripts that manipulate the description field in various ways based upon stake object data values. This way I can cover most eventualities by displaying the description field, sometimes in conjunction with other standard fields. Quote Link to comment
Yoginathaswami Posted November 18, 2012 Share Posted November 18, 2012 Thanks, Bryan: That will make the staking in VW much easier! Looking forward to it. Quote Link to comment
Yoginathaswami Posted November 18, 2012 Share Posted November 18, 2012 Aloha, Ian: I don't have any experience with VW script at all. Do you mind sharing? Thanks Quote Link to comment
IanH Posted November 19, 2012 Share Posted November 19, 2012 My routines are built into more complex scripts but I will have a look to see if they would make sense if i quickly lifted the relevant subset of code out. Quote Link to comment
Yoginathaswami Posted November 19, 2012 Share Posted November 19, 2012 Thanks Ian, Aloha! Quote Link to comment
IanH Posted November 21, 2012 Share Posted November 21, 2012 I quickly extracted this script from one of my routines. It works, but is not perfect and is only posted as an example. Use at your own risk! Its an example of handling the stake object in vectorscript. Basically, I scans the selected stake objects and replaces their description with the Z value in meters (I'm all metric based so don't need to worry about complex conversions) then sets the stake to use the description as its display value. Im not sure if you could put a newline in the value to allow a split Easting / Northing convention, but if convention allowed, it would be relatively easy to encode E/N onto a single line. { Sets description of stake object to Z value in meters { Stake object should be selected on entry { {(C) Ian Hutt 2008-2012 { { Nov 2012 - extracted and simplified code from set stake datum {} PROCEDURE setLevelMeters; LABEL 666; CONST stakeObject = 'Stake Object'; VAR datumObj : HANDLE; PROCEDURE convert( h : HANDLE ); VAR x, y, z : REAL; BEGIN GetSymLoc3D( h, x, y, z ); SetRField( h, stakeObject, 'Data', Concat( Num2str( 3, z / 1000 ), 'm' )); { Replace description with level in meters { You could try something like { Concat( 'E: ', Num2str( 3, x ), ' / N: ', Num2str( 3, y )) { to give a result such as E: 10.000 / N: 20.000 {} SetRField( h, stakeObject, 'Label Reference', 'Description' ); ResetObject( h ); END; BEGIN DSelectObj(INSYMBOL & INVIEWPORT & (PON<>'Stake Object')); datumObj := FSActLayer; IF ( datumObj = NIL ) THEN BEGIN AlrtDialog( 'No stake objects selected on active layer' ); DSelectAll; GOTO 666; END; ForEachObject( convert, (INSYMBOL & INVIEWPORT & (PON='Stake Object') & (SEL = TRUE))); ReDraw; 666: END; RUN( setLevelMeters ); As I say, it was lifted from a more complex function so is probably a bit more complex than need be in places. Some of the checks are redundant if run as a menu item as this handles object selection checking etc. Quote Link to comment
Yoginathaswami Posted November 25, 2012 Share Posted November 25, 2012 Aloha, Ian: thanks for posting the script. I have to confess this is a bit over my head! Looks like I need get myself familiar with VW script first. Quote Link to comment
IanH Posted November 26, 2012 Share Posted November 26, 2012 Most of its comments or checking for valid selection. The foreachobject at the bottom causes the convert procedure to be executed on all the selected stake objects. The setrfield in the convert procedure is the bit that populates the description with something (in the case above, the elevation in meters). The setrfield that follows then makes the stakeobject show the description field. Play around with the first setrfield will allow you to modify the results as you need. Simples. I'll be upset if you don't learn anything from it as you did ask me to share Quote Link to comment
Yoginathaswami Posted December 1, 2012 Share Posted December 1, 2012 Aloha, Ian: What you shared will not go to waste. I promise! I'll play around will report back to you. I will learn to understand VW Scripting better. I was assuming I can simply cut and paste and it will work when I asked you. Didn't realize it is much more than that...sorry if I misled you!! 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.