Jump to content

Custom Tool/Attribute


CRH

Recommended Posts

I am having some issues getting the Custom Tool/Attribute tool working for walls in VW12. Previously it seemed that you could create a script that would allow for wall properties including class and width set by creating a custom tool for each particular wall setting. I have tried numerous ways to set this in VW12 using the custom tool/attribute tool and have now gotten the width of the wall to work for each wall type but cannot get the walls to default too different classes.

The script created and modified is as follows

Procedure CustTool;

VAR

Name:STRING;

Result:BOOLEAN;

BEGIN

PushAttrs;

ClearCavities;

DoubLines(6");

PenSize(20);

PenPat(2);

SetZVals(0", 0");

PenFore(255);

PenBack(0);

PenPat(2);

FillFore(66);

FillBack(48);

FillPat(1);

PenSize(20);

PenPat(2);

Marker(0, 0.125000, 15);

SetWallWidth(6");

NameClass('Wall-Ext-Frame');

CallTool(-208);

PopAttrs;

END;

Run(CustTool);

What do we need to do to change this so that the class will default with a change in tools(classes change)

OK now this is weird, I have just created another tool using the all custom tool attributes for another wall. Once again nothing really worked correctly however, now the above one does. What gives?

Thanks

Cam

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