Jump to content

dimension SIA - show elevation


Recommended Posts

In VW 2011 there was a tool, we were regularly using in our office:

In the Dimension Standard "SIA" you could check the box "show Elevation" and manually enter the hight of a window f.e. - even if there was no true cad 3d-information.

In VW 2012 this doesn't work anymore: the checkbox is greyed.

Very painful, because we have migrated a big building design in VW 2012, an all the dimensions with this elevation-information is greyed and can't be edited anymore.

Link to comment

I asked the tech-support (tech@vectorworks.net). They told me to contact our local distributor for technical support - thats what I did.

They tell me: there is no such function as "show elevation" and "custom elevation" in VW 2012 international.

But it was in VW 2011 international, that is for sure !!! So why was it suppressed in VW 2012 ???

have a look at the png.file:

It's the same file, that I created in VW 2011 and then opened in VW 2012.

Link to comment
  • 2 weeks later...

people from the german vector works distributor computerworks told us, this function would not be supported in VW 2012 International anymore: Only users in the german speaking countries would use it, and therefore not enough, to keep the function working. I couldn't believe it, but thats my state of knowledge.

We would have to buy a german version of VW - there the function is still alive...

PV2, you could also send a bug report, so that Nemetchek takes our concerns serious ? SP 3 didn't solve the problem

Link to comment
  • 2 months later...

I made a small workaround for this problem. I placed the script in the object context menue, so its always present. The function is limited to single dimensions, maybe some solutions for chain dimensions here in the forum. so here comes my script for setting the elevation in SIA dim.

{ ////

Set Dim Elevation
(c) B. Schambeck. Distribute Freely.

//// }

PROCEDURE DimElevation;
VAR
H1 : HANDLE;
dialogOK,ShElev, CusElev : BOOLEAN;
dialog1,sx,x : INTEGER;
elev,y : REAL;
lead,trail : STRING;

{ ////

Dialog Handler

//// }

PROCEDURE Dialog_Handler(VAR item:LONGINT; data:LONGINT);
BEGIN
CASE item OF
	SetupDialogC:BEGIN
		SetBooleanItem(dialog1,4,TRUE);
		SetBooleanItem(dialog1,5,TRUE);
		H1:= FSActLayer;
		x:= GetPrefInt(170);
		IF (x = 8) THEN BEGIN
		sx := 10;
		END;
		IF (x = 9) THEN BEGIN
		sx := 1000;
		END;
		y:=GetObjectVariableReal(H1,47);
		SetEditReal(dialog1, 7, 3, y/sx);
	END;

	1:BEGIN
		{ get settings }
		GetBooleanItem(dialog1, 4, ShElev);
		GetBooleanItem(dialog1, 5, CusElev);
		dialogOK := GetEditReal(dialog1, 7, 3, elev);
		GetItemText(dialog1, 9, lead);
		GetItemText(dialog1, 11, trail);
	END;

END;
END;

{ ////

Dialog Creation

//// }

BEGIN

dialog1 := CreateLayout('Dim Elevation',FALSE,'OK','Cancel');

CreateCheckBox(dialog1,4,'Show Elevation');
CreateCheckBox(dialog1,5,'Custom Elevation');  
CreateStaticText(dialog1,6,'Elevation:',-1);
CreateEditReal(dialog1,7,3,0,26);
CreateStaticText(dialog1,8,'Leader:',-1);
CreateEditText(dialog1,9,'',26);
CreateStaticText(dialog1,10,'Trailer:',-1);
CreateEditText(dialog1,11,'',26);

SetFirstLayoutItem(dialog1, 4);
SetBelowItem (dialog1,4,5,0,0);
SetBelowItem (dialog1,5,6,0,0);
SetRightItem (dialog1,6,7,0,0);
SetBelowItem (dialog1,6,8,0,0);
SetRightItem (dialog1,8,9,0,0);
SetBelowItem (dialog1,8,10,0,0);
SetRightItem (dialog1,10,11,0,0);

AlignItemEdge (dialog1,6,1,1010,1);
AlignItemEdge (dialog1,8,1,1010,1);
AlignItemEdge (dialog1,10,1,1010,1);

AlignItemEdge (dialog1,7,3,1010,1);
AlignItemEdge (dialog1,9,3,1010,1);
AlignItemEdge (dialog1,11,3,1010,1); 



IF VerifyLayout(dialog1) THEN BEGIN
	IF RunLayoutDialog(dialog1, Dialog_Handler) = 1 THEN BEGIN
		x:= GetPrefInt(170);
		IF (x = 8) THEN BEGIN
		sx := 10;
		END;
		IF (x = 9) THEN BEGIN
		sx := 1000;
		END;

		H1:= FSActLayer;
		SetObjectVariableBoolean(H1,46,ShElev);
		SetObjectVariableBoolean(H1,1249,CusElev);
		SetObjectVariableReal(H1,47,elev*sx);
		SetObjectVariableString(H1,48,lead);
		SetObjectVariableString(H1,49,trail);
ResetObject(H1);

	END;
END;

END;

Run(DimElevation);

Edited by paulvector2
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
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...