Jump to content

CreateVPClOvrd working?


Pi_

Recommended Posts

does anybody have experience with 'CreateVPClOvrd'?

I want to create a new vieport with custom class attributes but this seems to do nothing. also after the scipt GetVPClOvrdCount(viewportHandle)=0...

When I use "GetVPClOvrdCount(viewportHandle)" on an manual editted viewport it gives correct results.

CreateVPClOvrd(viewportHandle, '2.3 dragend metselwerk - (1) snede');

SetVPClOvrdFillFore(viewportHandle, '2.3 dragend metselwerk - (1) snede', 65535,0,0);

SetVPClOvrdFillBack(viewportHandle, '2.3 dragend metselwerk - (1) snede', 65535,0,0);

SetVPClOvrdPenFore(viewportHandle, '2.3 dragend metselwerk - (1) snede', 65535,0,0);

SetVPClOvrdPenBack(viewportHandle, '2.3 dragend metselwerk - (1) snede', 65535,0,0);

SetVPClOvrdFillOpty(viewportHandle, '2.3 dragend metselwerk - (1) snede', 50);

alrtdialog(concat(GetVPClOvrdCount(viewportHandle)));

resetobject(viewportHandle);

Link to comment

Thanks for the reply,

I just tried what you suggest, doesn't work. Have you ever worked with this commands?

resetobject(viewportHandle);

CreateVPClOvrd(viewportHandle, '2.1 beton - (1.1) snede');

resetobject(viewportHandle);

SetVPClOvrdFillFore(viewportHandle, '2.1 beton - (1.1) snede', 65534,0,0);

resetobject(viewportHandle);

SetVPClOvrdFillBack(viewportHandle, '2.1 beton - (1.1) snede', 65534,0,0);

resetobject(viewportHandle);

SetVPClOvrdPenFore(viewportHandle, '2.1 beton - (1.1) snede', 65534,0,0);

resetobject(viewportHandle);

SetVPClOvrdPenBack(viewportHandle, '2.1 beton - (1.1) snede', 65534,0,0);

resetobject(viewportHandle);

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