Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  
Thomas Wagensommerer

Flip an object by handle

Recommended Posts

How can I flip an object by handle, without selecting it first?

This is how I currently do it, but it needs the object to be selected:

DSelectAll;

SetSelect (LNewObj);

FlipHor;

Share this post


Link to post

By using LNewObj, I assume you are creating the object. Why not flip it from the start while you are drawing it. All your values for x or y will be the opposite from the original object.

If you are trying to flip an existing object, what is the reason for not selecting it first?

Share this post


Link to post

There is no command to FLIP objects by handle. There shoiuld be, but there is not. The way you are doing it is the only way I know of to do it, except as Miguel mentioned, draw it flipped if you can.

Raymond

Share this post


Link to post

Agreed

There should be a

MirrorLine(x1,y1,x2,y2);

And

MirrorLineH(ObjHand,1,y1,x2,y2);

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.

×