Jump to content
Developer Wiki and Function Reference Links ×

change viewport update status?


michaelk

Recommended Posts

Is this a bad idea??

I'd like to be able to reset the "need to update" status on sheet layer viewports.

There are many times when I change the manufacturer's model number in a worksheet and a most of the SL viewports show the red barber pole lines. Or I change the graphic attributes of a section line and the section viewport (unnecessarily) shows that it needs to be updated.

Has anyone ever tried this?

Are there any problems to be aware of?

Is this the correct procedure: SetObjectVariableBoolean(SLViewportHandle,122,FALSE)

Thanks

MK

Link to comment

Another related question.

Below is a quote from the VS reference for SetObjectVariableBoolean

The description of the procedure has a handle argument, but the example doesn't.

It won't run without the handle argument, but it doesn't change the boolean variable with it.

Help

mk

VS:SetObjectVariableBoolean

Description

Sets the ON-OFF status of a VectorWorks object property.

For specific object selector index values, see the Appendix.

PROCEDURE SetObjectVariableBoolean(

h :HANDLE;

index :INTEGER;

status :BOOLEAN);

Parameters

h HANDLE Handle to object.

index INTEGER Object property index.

status BOOLEAN New status for property.

Example

SetObjectVariableBoolean(17,FALSE);

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