Jump to content

Recommended Posts

Posted

Guys,

 

I have no experience with creating dynamic blocks and I have been looking for help in creating one. I have attached a basic PTZ block and what I want it to do is when I rotate the block past a certain point +/-90 degrees the text rotate within the rectangle so it's never upside down.

 

Can I get any direction on what route I need to take to get this done?

PTZ.dwg

Posted

I'm not sure about having just one parameter to accomplish this, however here are a few ideas that might help in resolving this issue. PTZ_1 just rotates the block, excluding the text with a point move parameter so you can move the text to a desired location. PTZ_2 is a little more complex, but not by much; You have a rotation parameter again set to increment in 5 deg and a limitation on how far it can turn. The block also has a flip parameter to flip the block when you need to have it point in the back/front side of the 180 deg. There are probably a dozen other ways to accomplish this, but these were the simplest ways I could think of. You could use more parameters and a look up table to get this perfectly the way you want it.

PTZ_1.dwg

PTZ_2.dwg

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...