Dynamic Blocks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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?
Re: Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Post your Block
You may need to use two Lookup Actions for one Lookup Parameter to get this done.
CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
Re: Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for the help. See attached.
I know there're bugs, I'm experimenting with various things, teaching myself as I go along.
Re: Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
if I understand correct what You need
Juris
Re: Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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...
Re: Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
hmm - I don`t know
I don`t do any special
Just simple open attribute, delete your error field and add new field
Juris
Re: Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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...
Re: Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
__________________________________________________
CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
Re: Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Brilliant, cheers. That's perfect.
I was just reading through AUGI to get 2 lookups in.
So straightforward as well... feeling a little dim ![]()
Re: Lookup table properties value returned within field
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
