Jump to content

Dimensions display only when object is not a standard width.


Fett2oo5

Recommended Posts

I've looked and can not find a topic that covers what I am looking for.

 

(I'll try to keep descriptions as simple as possible...)

We have walls constructed out of modular panels, represented by basic rectangles.

Rectangles are a standard 16" wide. (length not important)

Only when a rectangle is not 16" wide, would we need to show it's width with a dimension.

 

In multiple blocks I am creating, I need a stretchable rectangle, in which there will be a dimension.

16504ba6f8012e3f7d79df4b94a59168.png

 

However I do not want the dimension to show up when the rectangle is 16" wide.

But I DO want the dimension to show when the rectangle is not 16".

 

So...

When the rectangle is 16" wide, no dimension is displayed.

When the rectangle is NOT 16" wide, a dimension is displayed.

 

pic of three rectangles next to aforementioned stretchable rectangle. When the one on the right is 16" wide I don't want to see a dimension.

 

6d7fff7b252c478df21775a9f197f5b8.png

 

 

Any ideas on how to achieve this?

Link to comment
Share on other sites

I think the only way to do this is to set up a dynamic dimension a normal dimension and a visibillity state in the dynamic block and then use Visual Lisp to switch the visibility of the normal dimension off when the 16" is displayed.

Link to comment
Share on other sites

It sounds like Grant's way would work well, but perhaps this would be easier.

Create one block which is non-dynamic for the standard 16" width.

Create a separate dynamic block for the exceptions.

It looks like you are setting incremental sizes in your dynamic block,

just stop them before you get to 16" and you should be okay, it will always

display the dimension, and it can't be as large as 16". :)

Link to comment
Share on other sites

I did something like this once and like Dadgad I would pick start & end. Blocks appear correct way a simple lisp works out how many std 16" to put in and the remainder is the dynamic block so no need to think about changing blocks. Do they have a height ? 3 picks use Y scale for height.

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