Jump to content

Changing state of mirrored or flipped symbol


Recommended Posts

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 by LarryO
Link to comment

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

Link to comment

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.

×
×
  • Create New...