Need a CODE to convert a plane view into ISO view

Need a CODE to convert a plane view into ISO view

sharpl
Advocate Advocate
1,058 Views
4 Replies
Message 1 of 5

Need a CODE to convert a plane view into ISO view

sharpl
Advocate
Advocate

Lloyd Beachy had a TIP on CADALYST few years back with this warning: For tip to function correctly, you must ensure that the downloaded file name matches the file name
displayed in the Rename File To field. Please rename downloaded files when necessary. The renamed advise is as follows:

Rename File To:Tip2052: Iso_Views.lsp

1. ":" is not allowed in a file name

2. Error message is error: bad argument type: streamp nil

Anyone could help please?

 

0 Likes
1,059 Views
4 Replies
Replies (4)
Message 2 of 5

devitg
Advisor
Advisor

just rename to 

 

Iso_Views.lsp
0 Likes
Message 3 of 5

devitg
Advisor
Advisor

find attached

Message 4 of 5

kensulu2000
Contributor
Contributor

I am having the same Streamp nil error when I launch the Iso_Views.lsp routine. Is there a fix and if so how?

 

iso : dialog {label="Isometric Views";
: row {
: boxed_column {label="Include:";
: toggle {key="line";label="Lines";}
: toggle {key="circle";label="Circles";}
: toggle {key="arc";label="Arcs";}
: toggle {key="text";label="Text";}
: toggle {key="lwpolyline";label="LWPlines";}
: toggle {key="spline";label="Splines";}
}
: boxed_column {label="Select drawing plane:";
: row {
spacer_0;
: image_button {key="left";width=10;aspect_ratio=1;fixed_width=true;color=254;}
: image_button {key="right";width=10;aspect_ratio=1;fixed_width=true;color=254;}
spacer_0;
}
: row {
spacer_0;
: image_button {key="top_left";width=10;aspect_ratio=1;fixed_width=true;color=254;}
: image_button {key="top_right";width=10;aspect_ratio=1;fixed_width=true;color=254;}
spacer_0;
}
spacer;
}
}
spacer;
: row {:spacer{width=17;}cancel_button;help_button;spacer_1;}
}
; error: bad argument type: streamp nil

0 Likes
Message 5 of 5

kensulu2000
Contributor
Contributor

So it just so happen I figured this one out. When I made a Lisp folder for some reason windows was having me provide Administrator Permission to write and access the folder. So I enabled the permissions and tested it and it works. Not so sure if the name of the folder is the permission issue or not but that is what the issue was in it not working. Thought I would let people know if you try to save a file from say Autolisp and do a save to that folder and if it says you need permissions then that is the issue. Activate the permissions and it should work.

Hope this helps others who may encounter this with the Iso_Views.lsp routine.

0 Likes