Jump to content
Developer Wiki and Function Reference Links ×

Saved View / Layer


Recommended Posts

Either set the visibilities before you create the Saved View, or go to the Organization Palette (either from the Tools menu or by double clicking one of the icons at the top of the Navigation Palette). Select the Views tab (5th from left). Select the view you want to edit and click the edit button. Then click the Layers or Class button to set the visibilities for the view.

Link to comment

METHOD 1: Organisation dialog box

- Saved Views tab.

- Click on the Visibilities button in the top RH corner.

- Select the Saved View you want to edit.

- Adjust the visibility status of the Layers and/or Classes as required.

- Exit the dialog box by clicking on OK (this will confirm the changes you have made).

METHOD 2: Navigation palette

- Make the Saved View active.

- Change the Layer and/or Class visibilities to how you require them.

- Switch to the Saved View tab.

- Right click on the Saved View name and select Redefine.

METHOD 3: Enter Edit mode from Tool Bar

- Make the Saved View active.

- Click on the Saved View icon on the Tool Bar and select Edit.

- Proceed as for Method 1 above.

Link to comment

Sorry,

How to set the visibilities using vectorscript.

Tim

{Layers :

A1, A2, A3, A4, etc...

B1, B2, B3, B4, etc...

C1,...etc

Titleblock,

A Notes, B Notes, C Notes, etc...

View: Layers

A1 : A1, TitleBlock, A Notes

A2 : A2, TitleBlock, A Notes

etc

C3 : C3, TitleBlock, C Notes}

{ type stuff ommitted... }

n := 11; {actually... iterates through the layers, parse the name of each to determine the last 'A' layer}

{create new layer}

layer(concat('A', nums2str(0,n)));

{create new view}

Vsave(concat('A', nums2str(0,n)));

{CODE TO SET THE LAYER VISIBILITIES...}

....

Thanks in advance.

Link to comment

The Code to Set the Layer Visibilities needs to go above the VSave command.

The commands are ShowLayer, HideLayer, GreyLayer. They only work with the active layer, so you have to set the layer you want to change to active with the Layer command.

Something like:

Layer('Design Layer-1');

HideLayer;

Layer('Design Layer-2');

GreyLayer;

Layer('First Floor';

ShowLayer;

Link to comment

This is partial code that deals with creating a saved view.

{ BEGIN VIEW SETUP: Note last layer will be Active Layer }

V1:=' C Plan';

V2:=' P/T Plan';

V3:=' RC Plan';

View01:=Concat(Y1,V1);

View02:=Concat(Y1,V2);

View03:=Concat(Y1,V3);

{ CONSTRUCTION PLAN BEGIN }

Layer(X1);

ShowLayer;

Layer(X2);

HideLayer;

Layer(X3);

ShowLayer;

Layer(X5);

ShowLayer;

Layer(X6);

HideLayer;

Layer(X7);

HideLayer;

Layer(X8);

ShowLayer;

{ Legend }

Layer('Material Legend');

ShowLayer;

Layer('P/T Legend');

HideLayer;

Layer('RCP Legend');

HideLayer;

{ Active Layer }

Layer(X4);

ShowLayer;

{ Set View }

SetVCenter(0,0);

SetZoom(57);

SetLayerOptions(5);

{ Save View }

VSave(View01);

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