Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Upright Text

12 REPLIES 12
SOLVED
Reply
Message 1 of 13
SRSDS
2322 Views, 12 Replies

Upright Text

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.

12 REPLIES 12
Message 2 of 13
Charles_Shade
in reply to: SRSDS

Possibly. I have seen it done with Lookup Tables.

Message 3 of 13
SRSDS
in reply to: Charles_Shade

That's great. Nice solution. Thankyou. 

Limiting the text rotation to 45 or even 90° angles is even better anyway.

 

 

Message 4 of 13
Charles_Shade
in reply to: SRSDS

A contributor here named Juris created that Dynamic Block.

 

Please mark any response as "Accept as Solution" if it answers your question.
_____________________________________________________________

Message 5 of 13
AcadAdamLT
in reply to: Charles_Shade

I've tried to recreate his block more then once but I just can't figure out how he got it working. =S

 

Signature, sincerely... //Adam
AutoCad LT 2016
Give Kudos where credit is due, Mark "accepted as solution" if the post solved your question.
Message 6 of 13
SRSDS
in reply to: AcadAdamLT

Just tried myself.

I can't seem to add the two Lookup actions to the one Lookup parameter. 

 

 

Message 7 of 13
Charles_Shade
in reply to: SRSDS

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?

Message 8 of 13
SRSDS
in reply to: Charles_Shade

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.

 

 

 

 

Message 9 of 13
Charles_Shade
in reply to: SRSDS

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.

 

Message 10 of 13
SRSDS
in reply to: Charles_Shade

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.

Message 11 of 13
Charles_Shade
in reply to: SRSDS

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.)

Message 12 of 13
SRSDS
in reply to: Charles_Shade

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.

 

 

 

Message 13 of 13
AcadAdamLT
in reply to: Charles_Shade

Thanks Shade, *and juris* ^^

 

Signature, sincerely... //Adam
AutoCad LT 2016
Give Kudos where credit is due, Mark "accepted as solution" if the post solved your question.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost

 

”Tips

 

”Services