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

Lookup table properties value returned within field

9 REPLIES 9
Reply
Message 1 of 10
peter_m.
3418 Views, 9 Replies

Lookup table properties value returned within field

I am unsure weather to post this in Dyn Block technical or Fields as it comprises elements of both.

I am trying to get a field to return a 'lookup properties' value...

Actually, what I am trying to do is use a field to display either a + or a - depending upon upon the state of a flip parameter.

How I have been trying to achieve that is by using a lookup table to assign:

Input Properties.....Lookup Properties
Not flipped........=............+
Flipped.............=............-

Then I'm setting a Field to look at the Object 'Lookup Parameter' and return 'Lookup Action'.

The field then displays '#########' when testing the block.

When I return to edit the field it complains 'the object referenced y the field has been erased'. Both the table and parameter are still there, so I don't know what the problem is.

Can you tell me where I'm going wrong?
Or is there a better way of having a field return a specific value based upon a parameter state?

9 REPLIES 9
Message 2 of 10
Charles_Shade
in reply to: peter_m.

Post your Block

You may need to use two Lookup Actions for one Lookup Parameter to get this done.

Message 3 of 10
peter_m.
in reply to: peter_m.

Thanks for the help. See attached.

 

I know there're bugs, I'm experimenting with various things, teaching myself as I go along.

Message 4 of 10
ojuris
in reply to: peter_m.

if I understand correct what You need

 

Juris

Message 5 of 10
peter_m.
in reply to: peter_m.

That's great, and thanks, but how did you do it?

When I try and interogate the field Acad returns a 'not a valid object error', so I haven't been able to discern what you've done...

Message 6 of 10
juris.o
in reply to: peter_m.

hmm - I don`t know

I don`t do any special

Just simple open attribute, delete your error field and add new field

 

lookup.png

 

Juris

Message 7 of 10
peter_m.
in reply to: peter_m.

Ah. I see, you added the field within the attribute editor.

I'm hoping to be able to adde the field within te block editor, so that it is the default for the attribute.

So I'm not able to select the block reference...

Message 8 of 10
Charles_Shade
in reply to: peter_m.

Try using BlockPlaceHolder whilst in the BE and then choose the Lookup Action.

This should get you the same result.

 

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

Message 9 of 10
peter_m.
in reply to: peter_m.

Brilliant, cheers. That's perfect.

I was just reading through AUGI to get 2 lookups in.

So straightforward as well... feeling a little dim Smiley Happy

Message 10 of 10
Charles_Shade
in reply to: peter_m.

I was getting too complicated with the double Lookup thought but if you are interested in doing so in the future you can follow these steps:

 

-Create Dbl Lookup Set
Open the Block Properties Palette, Go to the Parameter Sets tab, Right click the Lookup Set icon, Copy / Paste then Rename (Lookup Set Double; or whatever), Right click this new Parameter set, Properties, Actions (at the bottom), Click the bar, Click the …   , Add Action object Lookup, Ok, Ok, drag and drop as needed. This can be done with any Parameter/Action you want.

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

Post to forums  

”Boost

 

”Tips

 

”Services