Jump to content
Sign in to follow this  
MaxStudio

Arrow heads?

Recommended Posts

I want to draw a line with an arrow head that is the same color as the line.

I tried the following...

Marker(1,0.125,15);

I expected this to give me a solid arrow at the start of my line, but it gives me a hollow arrow instead. Below is a link to the marker list I have been referencing. Either I am referencing the wrong list or I am forgetting a step.

I want to be able to fill the arrow head with the line color.

Thanks for your help!

Share this post


Link to post

Got it to work using the following...

SetMarker(H,TRUE,FALSE,0,1000);

not sure exactly how the last number deals with size...

when i set it to 1 the arrow was huge.

when i set it to 100 it was the same size as 1000.

any further insight would be appreciated

Share this post


Link to post

From the VS Func Ref:

???Special Notes:

???Marker is obsolete as of VectorWorks13.0 (2008)

But, as long as the code still works try Option 0:

???Marker(0, 0.125, 15);

which will give you a filled arrow.

If fill color is not right, try setting it with FillFore or FillBack, OR, SetFillFore / SetFillBack.

HTH,

Raymond

Share this post


Link to post

You might also try using:

SetObjBeginningMarker() / SetObjEndMarker()

to see how they work. You'll need a handle to the object, though.

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