CADTutor: The best free help for AutoCAD on the web

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Go Back   AutoCAD Forums > AutoCAD > AutoLISP, VBA, the CUI & Customisation

Reply
 
Thread Tools
Old 3rd Nov 2009, 10:04 pm   #21
Randolph
Full Member
 
Using: AutoCAD 2009
 
Join Date: Sep 2009
Posts: 86
Default

Don't be too pissed, cause it's "._fillet" anyway .

But to be honest, I'm really happy and wanted to thank you for all your help, Alan.
Randolph is offline   Reply With Quote
Old 3rd Nov 2009, 10:36 pm   #22
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

Quote:
Originally Posted by Randolph View Post
Don't be too pissed, cause it's "._fillet" anyway .

But to be honest, I'm really happy and wanted to thank you for all your help, Alan.
The order _. or ._ does not matter.

You are quite welcome

What are the bugs with XYZ? You never gave a response after I posted the link to the subroutine.

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Old 3rd Nov 2009, 10:43 pm   #23
Randolph
Full Member
 
Using: AutoCAD 2009
 
Join Date: Sep 2009
Posts: 86
Default

Oh yes, i did give response, right after you posted your gif animation. Quote:

Hi Alan, thanks, but don't be too bored:

Code:
 
Befehl: xyzObjekte wählen: 1 gefundenObjekte wählen:Specify base point:Geometry factor to scale [X/Y/Z]: xError: no function definition: AT:INSERTBLOCK
Gefunden means found.
Randolph is offline   Reply With Quote
Old 3rd Nov 2009, 10:48 pm   #24
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

Quote:
Originally Posted by Randolph View Post
Oh yes, i did give response, right after you posted your gif animation. Quote:

Hi Alan, thanks, but don't be too bored:

Code:
 
Befehl: xyzObjekte wählen: 1 gefundenObjekte wählen:Specify base point:Geometry factor to scale [X/Y/Z]: xError: no function definition: AT:INSERTBLOCK
Gefunden means found.
LoL
I responded to that like 8 hours ago.

POST.jpg

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Old 3rd Nov 2009, 11:09 pm   #25
Randolph
Full Member
 
Using: AutoCAD 2009
 
Join Date: Sep 2009
Posts: 86
Default

Ah, ok, that was when I was in trouble at work.

So I copy&paste both your xyz.lisp and insertblock somewhere into my general acad.lisp?

Got to go to sleep now, it's past 23:00 round here an I got to get up tomorrow. Good night!
Randolph is offline   Reply With Quote
Old 3rd Nov 2009, 11:19 pm   #26
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

Quote:
Originally Posted by Randolph View Post
Ah, ok, that was when I was in trouble at work.

So I copy&paste both your xyz.lisp and insertblock somewhere into my general acad.lisp?

Got to go to sleep now, it's past 23:00 round here an I got to get up tomorrow. Good night!
Just stick it in the same .lsp file as XYZ.

It's 5pm here.

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Old 4th Nov 2009, 07:09 am   #27
ica_cici
Full Member
 
Using: AutoCAD 2008
 
Join Date: Mar 2009
Posts: 37
Default

Quote:
Originally Posted by Randolph View Post
Hi Ica,

I tried it and it worked so far. The problem is - as far as I have seen, that I have to know the original and the new length. As in most cases I don't know either, I would have to measure. Now my original length is 213,17 cm (for example a wall which has been cut at an angle), and my new length should be 429,38 cm. Do I have to enter both values manually?
Yes, you do. Just input the reference and the new length, no need to find the scale factor. It will be more complicated to find the scale factor if it's not an integer and you'll get imprecision dimension (just like your values).
ica_cici is offline   Reply With Quote
Old 4th Nov 2009, 03:02 pm   #28
Randolph
Full Member
 
Using: AutoCAD 2009
 
Join Date: Sep 2009
Posts: 86
Default

"It's 5pm here." So you mean 17:00 ? Going to try your routine asap. And it's now half past three and seven minutes in the afternoon.

Concerning precision: If I have to measure and re-enter my values, I get the precision problem right there. Or how many decimals am I supposed to enter? And in your example - it doesn't seem to make much any differnece whether I enter "1" and "2" or "2" and "4". In short: it would be great if your routine would reference.

Last edited by Randolph : 4th Nov 2009 at 03:38 pm.
Randolph is offline   Reply With Quote
Old 4th Nov 2009, 04:58 pm   #29
alanjt
Super Member
 
alanjt's Avatar
 
Using: Civil 3D 2009
 
Join Date: Apr 2008
Posts: 1,488
Default

Quote:
Originally Posted by Randolph View Post
"It's 5pm here." So you mean 17:00 ? Going to try your routine asap. And it's now half past three and seven minutes in the afternoon.

Concerning precision: If I have to measure and re-enter my values, I get the precision problem right there. Or how many decimals am I supposed to enter? And in your example - it doesn't seem to make much any differnece whether I enter "1" and "2" or "2" and "4". In short: it would be great if your routine would reference.
I put something together with what information I had. It scales the X,Y,Z values based on distance provided, you can pick a distance. As far as referencing, give it a shot.

Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...
its pretty funny seeing two AutoCAD Gods give each other flak...
alanjt is offline   Reply With Quote
Old 7th Nov 2009, 12:02 pm   #30
Randolph
Full Member
 
Using: AutoCAD 2009
 
Join Date: Sep 2009
Posts: 86
Default

Sorry Alan, misunderstanding, the answer about precision went to ica-cici. His routine (fit.lsp) works quite well with staircases, where I know the old and the new length exactly. - I already saw that your xyz.lsp had a reference mode, but I still had no time adding the insertblock-function and trying. I also have the "strange" rotated text example ready, but always someone working on my internet computer at work (I prefer a standalone machine for my work for safety reasons).
Randolph is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scale on one axis only TonyMS AutoCAD Beginners' Area 3 15th Oct 2008 08:26 pm
Setting x/y axis scale? therock005 AutoCAD Drawing Management & Output 8 12th Dec 2007 04:22 pm
Scale on one Axis? spittle AutoCAD Drawing Management & Output 6 5th Oct 2007 12:07 pm
How to I change the scale in only one axis? jps AutoCAD General 7 29th May 2007 10:59 am
How do I get all objects onto the same Z-axis plane? lmingll AutoCAD Drawing Management & Output 9 22nd Jun 2006 10:10 pm

Why Donate?


All times are GMT +1. The time now is 11:51 am.

RSS Feed for AutoCAD ForumsValid XHTML 1.0!Valid CSS!Creative Commons Licence