LarryO Posted May 31, 2013 Share Posted May 31, 2013 (edited) I found a solution in using "Flip3DObj(handle,boolean)". It works on 2D symbols as well and flips them about their origin. Has anyone developed a simple method to flip or mirror a 2D-symbol about it's origin. Either X or Y axis will work. Preferably using the Handle of the symbol's instance. I need to maintain the origin of this symbol instance at [x,y]=[0,0] within my Plug-in object. I already know the symbol's current state. Not flipped. My symbols are right-handed and need a simple flip to be left-handed. Like a field hockey stick with the origin at the top end of the stick. I'm hoping to avoid having to load up my file with left-handed definitions. I'm curious what it is that the ISFLIPPED criteria searches for in an object definition. Perhaps a Handle scaling tool which allows a negative x or negative y factor would do the job? Thanks, Larry Edited May 31, 2013 by LarryO Quote Link to comment
JBenghiat Posted June 4, 2013 Share Posted June 4, 2013 Larry, Look at FlipHybMatrixObj. http://developer.vectorworks.net/index.php?title=VS:FlipHybMatrixObj This is not an absolute function, so check IsObjectFlipped. -Josh Quote Link to comment
LarryO Posted June 8, 2013 Author Share Posted June 8, 2013 Thanks Josh, I'll see what its potential is on my next project. Would be nice though if the developer Function Reference also listed what integers are valid and their corresponding purpose or a link to find the information. The function isn't even listed in the offline reference I have. Larry Quote Link to comment
JBenghiat Posted June 14, 2013 Share Posted June 14, 2013 Hi Larry, In general the offline reference is not as well updated or annotated as the developer site. I dug up information on the integer settings and updated the developer wiki: inFlipSpecifier = 0 for flipH inFlipSpecifier = 1 for FlipV -Josh Quote Link to comment
Recommended Posts
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.