Message 1 of 15
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
Is there any way to use multiple visibility parameters in a dynamic block by Lisp routine(without using lookup)?
Solved! Go to Solution.
Hi
Is there any way to use multiple visibility parameters in a dynamic block by Lisp routine(without using lookup)?
Solved! Go to Solution.
No.
(AutoCAD doesn't allow more than one Vis. Parameter. This limitation cannot be overcome even with Lisp).
(Remember what was written on 2024-01-31)
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Thank You for reply.
I remembered previous posts.
But I've heard about some routines and hope someone can give me more information.
@mehdi-guida wrote:
I've heard about some routines ...
There are certainly several ways to control the visibility of objects within a dynamic block, including via LISP.
But you asked explicitely how "to use multiple visibility parameters". And as long as a block definition can include only one visibility parameter at a time you never can use multiple of them.
Perhaps you should describe more detailed what you want to achieve ... mybe we find a solution.
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
you are right, I meant finding any possible way to use visibility parameter more than one time in a dynamic block.
I've heard some it is possible by lisp routines and downloaded some of them, but I couldn't work with them.
Cheat using double lookups. See the pinned topic about them
Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
@h_s_walker wrote:
Cheat using double lookups. See the pinned topic about them
He knows this way (>>click<<) but for some reason @mehdi-guida doesn't want to or can't take this suggestion. [cit from post #1: "Is there any way ... (without using lookup)?"]
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How does this work. I can't figure it out. looks like it has 3
That block was created using the Visibility-Add-Eng LISP routine that has not worked for any version of AutoCAD since ~2010. My understanding is that it exploited a flaw in the code that has consequently been patched and there is not a way to make that LISP routine work with any later versions.
@mike_collinsAA9YL wrote:
How does this work. I can't figure it out. looks like it has 3
Thank you again
Thank you. Could I install that version of acad to do this again
Yes, you can and as far as I know the blocks will still work with later versions of AutoCAD. That said, I've used it and IMO it is not worth doing. The Visibility-Add-Eng was glitchy, unintuitive and editing existing blocks that were created using it was an absolute pita. For simple blocks it could work, but in that case I definitely prefer using the double lookup method which is easier to use, and much easier to edit later on with changes.
does anyone have this lisp?
@mehdi_aghdam wrote:
does anyone have this lisp?
After less than 1 min searching in the web I found this:
HTH
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
If the change in visibility state is a simple matter of changing text values, you could try using formulas for text values that will look at a table reference within the block. Or if it's as simple as a number change, a formula which looks at the value of a block attribute. You can change the block attribute per block.