Jump to content
Sign in to follow this  

set functions don't seem to work with handles in structures

Recommended Posts


Say i Have:


line = structure

p1,p2 : real;

h : handle;


var p_array: array[1..20] of line;

temp : handle;

i : integer;



temp := fsactlayer;

i := 1;

while( temp <> nil) do


p_array.h := temp; getsegpt1(temp,p_array.p1.x,p_array.p1.y);



i := i + 1;


I will get a compile error saying that the operands are not of compatible types, meaning that p_array.h is not a handle.

What's up with that?

Share this post

Link to post

That was just a typo.

My problem isn't the point stuff. That works fine it's the fact that vectorscript won't compile when i try to pass p_array.h into a set function as a handle.

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.

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