Is it possible to link a parameter value to a function?
I want text or attributes to never be "upside down".
If it is rotated with a rotation parameter the text would need to be automatically flipped or rotated if the angle is less than say >3*PI / 4 and < 7*PI/8.
Solved! Go to Solution.
Solved by Charles_Shade. Go to Solution.
Possibly. I have seen it done with Lookup Tables.
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
That's great. Nice solution. Thankyou.
Limiting the text rotation to 45 or even 90° angles is even better anyway.
A contributor here named Juris created that Dynamic Block.
Please mark any response as "Accept as Solution" if it answers your question.
_____________________________________________________________
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
I've tried to recreate his block more then once but I just can't figure out how he got it working. =S
Open the Block Properties Palette.
Under the Parameter Sets tab hover over the Lookup Set icon and right click
Copy and Paste back into the tab.
Right Click and rename. (Lookup Set Double, or something)
Right Click and choose Properties.
Under Parameter choose Actions.
Click the Add Actions button at the end and add a Lookup Action
Ok, Ok,
Drag your new set to the block editor workspace.
You can do this to the predefined Set but why?
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
There doesn't seem to be a problem adding two lookup parameters. But it doesn't accept two lookup tables associated to the one parameter which is what the example has.
The two lookup tables seem to be connected under the one parameter and must chain the rotate action through the two tables.
In the existing block:
Lookup 1 is connected to Angle 1
Lookup 3 is connected to Angle 2
Are you trying to drag a Lookup Action to an existing Lookup Parameter that already has an Action?
This cannot be done. The Action needs to be added to the Parameter in the Block Editor Palette then you can have two Actions with one Lookup Parameter.
What you create following the advice above should look something like the screenshot.
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
This is interesting but I can't seem to get it to work.
I add a second Lookup action like the attached jpg?
Then I drag it in but it only shows the one lookup action.
Set your BACTIONBARMODE to 0 (zero) then drag the Lookup in if need be.
(I'm think I'sm always going to be a lightning bolt fan.)
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
Ahh huh.
After setting up the lookups you can revert bActionBarMode and it shows the two lookups.
But yea..no problem with using the lightening bolts.
Wow. Thankyou.
Can't find what you're looking for? Ask the community or share your knowledge.