Dynamic Blocks

Reply
Distinguished Contributor
ChrisCAD27
Posts: 140
Registered: ‎03-24-2008
Message 11 of 196 (1,735 Views)

Re: You gotta try visibility-add-eng-v1.1

08-19-2009 08:07 AM in reply to: *T Bennett
My only question is, if you figured this out, why couldn't Autodesk?
Valued Contributor
NikolayPoleshchuk
Posts: 60
Registered: ‎06-27-2006
Message 12 of 196 (1,735 Views)

Re: You gotta try visibility-add-eng-v1.1

08-19-2009 07:26 PM in reply to: *T Bennett
Autodesk knows about this improvement. But they say that the problem is not in their nearest plans.
Nikolay Poleshchuk
http://poleshchuk.spb.ru/cad/eng.html
Distinguished Contributor
gemt
Posts: 109
Registered: ‎04-22-2003
Message 13 of 196 (1,735 Views)

Re: You gotta try visibility-add-eng-v1.1

08-24-2009 09:10 PM in reply to: *T Bennett

I love the sound of this lisp, it's exactly what I've been looking for but I can't get it to work.
I can add a visibility parameter using (visibility_add) which it does but with errors;

{color:#3366ff}Command: _appload visibility-add-eng.lsp successfully loaded.
Command:
Command:
Command: (visibility_add)
Select point for placing Visibility Set: _.BParameter
Enter parameter type
[Alignment/Base/pOint/Linear/Polar/Xy/Rotation/Flip/Visibility/looKup]: _V
Specify parameter location or [Name/Label/Description/Palette]: _L
Enter visibility property label : Visibility-1
Specify parameter location or [Name/Label/Description/Palette]:
Enter number of grips [0/1] <1>:
Command: _.BSAVE
Command: ; error: quit / exit abort

{color:#000000}I then rename the parameter as in step 4. And try to set the new parameter active using (visibility-up) but I get the following error;
{color}
Command: (visibility-up)
Select required Visibility Set: ; error: bad argument type: numberp: nil
{color}


Am I missing something?

I am using AutoCAD 2010.

Any help would be greatly appreciated.

Thanks.

Gemma
*T Bennett
Message 14 of 196 (1,736 Views)

Re: You gotta try visibility-add-eng-v1.1

08-25-2009 10:27 AM in reply to: *T Bennett

I guess the guy made a
visibility-add-eng-v1.2.  Are you using this or version
1.1?

 

I used version 1.1 on AutoCAD 2006 with
no problems.  We have recently upgraded to 2008, but I haven't
tried either version since.  However, Nikolay Poleshchuk said it worked
with 2010.

 

P.S. I snipped this from a previous
post:

<<Instructions for using are given in
English at the bottom of the page (6 steps):smileyembarrassed:>


 

The instructions could be better, but there's a
lost-in-translation thing, I'm sure.

 

Todd


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

I love the sound of this lisp, it's exactly what I've been looking for but
I can't get it to work.
I can add a visibility parameter using
(visibility_add) which it does but with errors;

{color:#3366ff}Command:
_appload visibility-add-eng.lsp successfully
loaded.
Command:
Command:
Command: (visibility_add)
Select point
for placing Visibility Set: _.BParameter
Enter parameter type

[Alignment/Base/pOint/Linear/Polar/Xy/Rotation/Flip/Visibility/looKup]:
_V
Specify parameter location or [Name/Label/Description/Palette]:
_L
Enter visibility property label : Visibility-1
Specify parameter
location or [Name/Label/Description/Palette]:
Enter number of grips [0/1]
<1>:
Command: _.BSAVE
Command: ; error: quit / exit
abort

{color:#000000}I then rename the parameter as in step 4. And try
to set the new parameter active using (visibility-up) but I get the following
error;
{color}
Command: (visibility-up)
Select required Visibility
Set: ; error: bad argument type: numberp: nil
{color}


Am I missing
something?

I am using AutoCAD 2010.

Any help would be greatly
appreciated.

Thanks.

Gemma
Distinguished Contributor
gemt
Posts: 109
Registered: ‎04-22-2003
Message 15 of 196 (1,736 Views)

Re: You gotta try visibility-add-eng-v1.1

08-26-2009 07:01 PM in reply to: *T Bennett
Ok I got it to work. It was the way I was opening the block in the block editor. I was inserting the block into a dwg and editing it that way when I should have opened the actual block file.

Anyway I have another problem now. All my elements have disappeared??? I set all my visibility parameters up, tested it, all worked ok then closed the block editor (after saving etc). Then went to reopen it and all the elements that I removed in each visibility parameter had disappeared. How can I get them back. They don't appear if I insert the block into a drawing either.

Help.

Gemma
Distinguished Contributor
gemt
Posts: 109
Registered: ‎04-22-2003
Message 16 of 196 (1,737 Views)

Re: You gotta try visibility-add-eng-v1.1

08-26-2009 09:13 PM in reply to: *T Bennett
Well I got around that by deleting all the vp's and starting again...lets try again.

Gemma
*T Bennett
Message 17 of 196 (1,737 Views)

Re: You gotta try visibility-add-eng-v1.1

09-03-2009 01:37 PM in reply to: *T Bennett

Sorry dude.  I can't say I'm an expert by any
stretch.  I made one that works great, but when I tried to modify it later,
it wouldn't work.  Of course I made it in 2006 using v1.1 and tried to
modify it in 2008 using v1.2.  I haven't had time to mess with it
since.

 

I believe that one of the sub routines needs to be
run before you start.


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Well
I got around that by deleting all the vp's and starting again...lets try
again.

Gemma
Valued Contributor
nbawden
Posts: 52
Registered: ‎10-27-2008
Message 18 of 196 (1,737 Views)

Re: You gotta try visibility-add-eng-v1.1

09-05-2009 09:09 PM in reply to: *T Bennett
Hi, I managed to get this lisp going on my first attempt and was impressed with what it can do.

I have a couple of questions about it

1) After running it successfully the first time I have since discovered that 9 times out of 10 when I run visibility_add it asks me to select the point for the visibility set and when I click on the spot I want it fails with the error

"; error: bad argument type: lentityp
nil"

Any idea what is causing this?

2) If I already have an existing block with a visibility set and I want to expand on it by adding a second visibility parameter what do I need to do? It seems that I can't keep an existing visibility parameter and add more with this lisp?
*T Bennett
Message 19 of 196 (1,737 Views)

Re: You gotta try visibility-add-eng-v1.1

09-09-2009 08:51 AM in reply to: *T Bennett
Sorry, you've long since tapped my knowledge of this program.


wrote in message news:6249912@discussion.autodesk.com...
Hi, I managed to get this lisp going on my first attempt and was impressed
with what it can do.

I have a couple of questions about it

1) After running it successfully the first time I have since discovered that
9 times out of 10 when I run visibility_add it asks me to select the point
for the visibility set and when I click on the spot I want it fails with the
error

"; error: bad argument type: lentityp
nil"

Any idea what is causing this?

2) If I already have an existing block with a visibility set and I want to
expand on it by adding a second visibility parameter what do I need to do?
It seems that I can't keep an existing visibility parameter and add more
with this lisp?
Valued Contributor
NikolayPoleshchuk
Posts: 60
Registered: ‎06-27-2006
Message 20 of 196 (1,737 Views)

Re: You gotta try visibility-add-eng-v1.1

10-25-2009 12:41 AM in reply to: *T Bennett

Try version 1.3: http://www.private.peterlink.ru/poleshchuk/cad/2009/tainypod12e.htm

Nikolay Poleshchuk
http://poleshchuk.spb.ru/cad/eng.html

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community