Jump to content

Recommended Posts

Posted

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

Posted

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.

  • 2 months later...
Posted

I should have mentioned CIV3D has something built in if I remember correct.

 

AutoCAD Map 3D Help: Adding a Scale Bar (autodesk.com)

  • Like 1
Posted

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.

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