Jump to content
Sign in to follow this  
scfabian

UndoOff prevents HExtrude from working?

Recommended Posts

After a lot of trying I found out that the UndoOff-Procedure prevents HExtrude from working in VW11!

The following code should produce a polygon and extrude it, but the extrusion doesn't happen:

code:

PROCEDURE testExtrude;

VAR

h: HANDLE;

BEGIN

UndoOff;

ClosePoly;

BeginPoly;

AddPoint(0,0);

AddPoint(2,0);

AddPoint(2,2);

AddPoint(0,2);

EndPoly;

h := HExtrude(LNewObj, 0, 4);

END;
[/code]

If I take away the UndoOff, everything works fine. Is this a bug or a feature? At least I found no hints in the documentaton and now I wonder if there are more nasty side effects of the UndoOff procedure. Anyone with similar experience?

Fabian

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...