Sir,
I am using Autodesk map2002 and 2004. Can any one explain me the procedure for using the command dpl(p,p1,p2). When I use this command,I can't select p,p1 and p2
Please help me.
Thank you,
![]() |
|
![]() |
|
![]() |
|
![]() |
Sir,
I am using Autodesk map2002 and 2004. Can any one explain me the procedure for using the command dpl(p,p1,p2). When I use this command,I can't select p,p1 and p2
Please help me.
Thank you,
Last edited by yjayakumartvm; 2006-01-29 at 09:07 AM.
hello... I am using map2006... but, I am not familiar with a command dpl (get unknown command when typing that in at the command line)... is that a custom alias/shortcut?Originally Posted by yjayakumartvm
Melanie Stone
@MistresDorkness
ARCHIBUS, FMS/FMInteract and AutoCAD Expert (I use BricsCAD, Revit, & Tririga, too)
Technical Editornot all those who wander are lost
Sir, This is a command within the calculator command
Command: cal
enter
expression: dpl(p,p1,p2)
enter
Please
ah, thank you.Originally Posted by yjayakumartvm
I run the cal command, then use the above expression and I get the error: "AutoLISP variable P has no value" (sorry, this isn't really a tool I'm used to using, hopefully someone else will read this and know what to do)
Melanie Stone
@MistresDorkness
ARCHIBUS, FMS/FMInteract and AutoCAD Expert (I use BricsCAD, Revit, & Tririga, too)
Technical Editornot all those who wander are lost
Hi
Have you reviewed the following from the AutoCAD Online Help File [F1]...
Contents tab -> Command Reference -> Commands -> C Commands -> CAL -> Using AutoLISP Variables
&
Contents tab -> Command Reference -> Commands -> C Commands -> CAL -> Calculating a Distance
Therefore you could define p, p1 & p2 something like...
(setq p (getpoint))
(setq p1 (getpoint))
(setq p2 (getpoint))
Then use the CAL command...
Command: _.Cal
>> Expression: dpl(p,p1,p2)
Have a good one, Mike
Thank you very much sir, for the valuable suggestion. I will try this today itself.