Jump to content
Developer Wiki and Function Reference Links Read more... ×
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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.

×