Jump to content

Linking Block Visibility State to Object Field data?


Sambo

Recommended Posts

Hello, 

 

I'm wondering if its possible to create a lisp or something that would link a scale bar controlled by block visibility states to a user selected viewport and have the visibility state of the block be controlled by that viewports object field data? (specifically the custom scale field). 

Link to comment
Share on other sites

I know how to read and set visibility states.

Could you upload an example?

 

Object Field data are a bit of a distant, vague memory to me.

Link to comment
Share on other sites

  • 2 months later...

If you have the dynamic block with all your "CORRECT" scales then yes you can click on a viewport and insert block with correct visibility set. It looks like you know about CUSTOMSCALE.

 

Your 1st step is make the dynamic block with the multiple vis states.

 

2nd is get a copy of Lee-macs dynamic block lisp.

 

3rd the answer is in Lee's code. LM:SetVisibilityState

 

Last comment its not a field answer but could be automated to look through layouts.

Link to comment
Share on other sites

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