Jump to content
  • 0

Modifying Bulk Stake Objects


AKieran

Question

5 answers to this question

Recommended Posts

  • 0

I think I figured that out also back in 2020.  The following script creates the Stake from a 3D Loci data but the setting of the Z value is a separate step than the Stake creation.  Not tested in 2024, but it compiles.

 

Procedure StakesFrom3DLoci;
{Inserts a symbol at the X/Y/Z location of each 3D loci on the active layer}

{© 2020,2008, Coviana, Inc - Pat Stanford pat@coviana.com}
{Licensed unde the GNU Lesser General Public License}

Var		H1,H2:Handle;
		X1,Y1,Z1:Real;
		N1,N2:Integer;


Begin
	H1:=FActLayer;
	While H1 <> nil do
		Begin
			If GetType(H1) = 9 then
				Begin
					GetLocus3D(H1,X1,Y1,Z1);
					Symbol('Your Symbol Name Here',X1,Y1,0);
					H2:=LNewObj;
					Move3DObj(H2,0,0,Z1);
					H1:=NextObj(H1);
				End
			else
				Begin
					H1:=NextObj(H1);
				End;
		End;
End;

Run(StakesFrom3DLoci);

 

Link to comment
  • 0
  • Vectorworks, Inc Employee

If the scripts don't work...

You could create a worksheet with the data necessary (match a surveyor's point file) export the data to excel and use a formula in excel to multiply your values, then re-import (Landmark>Survey Input>Import Survey File...)?

 

I'm sorry this is only the basics of a workflow, but it might be somewhere to start?

 

Alternately you can use the Modify>move>Move 3D to move stakes with the same value a given amount. You would need to isolate them in vertical bands for selection to make this work and it could be tedious, but it's something?

Link to comment

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
Answer this question...

×   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...