Author Topic: how to Achieve only one pick point & both pick point  (Read 3032 times)

0 Members and 1 Guest are viewing this topic.

Sam

  • Bull Frog
  • Posts: 201
how to Achieve only one pick point & both pick point
« on: August 23, 2012, 08:20:56 AM »
Dear sir,

how to Achieve only one pick point & both pick point (diagonal)
sorry for my bad explanation. see image
attached gif file
« Last Edit: August 23, 2012, 10:25:16 AM by Sam »
Every time we waste electricity, we put our planet's future in the dark. Let's turn around our attiude and start saving power and our planet, before it's too late
http://www.theswamp.org/donate.html

Tharwat

  • Swamp Rat
  • Posts: 710
  • Hypersensitive
Re: how to Achieve only one pick point & both pick point
« Reply #1 on: August 23, 2012, 08:32:58 AM »
Change the extension of the file to gpg to allow all users to see it .

Thanks

irneb

  • Water Moccasin
  • Posts: 1794
  • ACad R9-2016, Revit Arch 6-2016
Re: how to Achieve only one pick point & both pick point
« Reply #2 on: August 23, 2012, 09:33:13 AM »
The SWF opens in Flash Player, but nothing seems to happen.

What is a GPG file? I don't seem to find any program which opens such. Closest I get when searching the net seems to be a Public Key File - i.e. like a PGP file. But I'm sure that's not it.
Common sense - the curse in disguise. Because if you have it, you have to live with those that don't.

HasanCAD

  • Swamp Rat
  • Posts: 1422
Re: how to Achieve only one pick point & both pick point
« Reply #3 on: August 23, 2012, 09:39:25 AM »
The SWF opens in Flash Player, but nothing seems to happen.

What is a GPG file? I don't seem to find any program which opens such. Closest I get when searching the net seems to be a Public Key File - i.e. like a PGP file. But I'm sure that's not it.

I think that Tharwat meant *.JPG.

irneb

  • Water Moccasin
  • Posts: 1794
  • ACad R9-2016, Revit Arch 6-2016
Re: how to Achieve only one pick point & both pick point
« Reply #4 on: August 23, 2012, 10:07:31 AM »
Unfortunately that's not it either - tells me it's a corrupt image when trying to open it as a JPG.
Common sense - the curse in disguise. Because if you have it, you have to live with those that don't.

HasanCAD

  • Swamp Rat
  • Posts: 1422
Re: how to Achieve only one pick point & both pick point
« Reply #5 on: August 23, 2012, 10:19:56 AM »
Unfortunately that's not it either - tells me it's a corrupt image when trying to open it as a JPG.

Tharwat wants to say
Please take a snap and save as *.JPG
OR
Please take a snap and save as *.GIF (If it is animation file)

Tharwat

  • Swamp Rat
  • Posts: 710
  • Hypersensitive
Re: how to Achieve only one pick point & both pick point
« Reply #6 on: August 23, 2012, 10:39:05 AM »
Thanks Hasan for the clarifications , although you did not bring the complete one . :)

Sorry irneb for that confusion , actually i meant .JPEG

Thanks

Lee Mac

  • Seagull
  • Posts: 12926
  • London, England
Re: how to Achieve only one pick point & both pick point
« Reply #7 on: August 23, 2012, 10:45:45 AM »
how to Achieve only one pick point & both pick point (diagonal)

From the gif it would appear that you already have the program?  :?

Sam

  • Bull Frog
  • Posts: 201
Re: how to Achieve only one pick point & both pick point
« Reply #8 on: August 23, 2012, 10:59:07 AM »
how to Achieve only one pick point & both pick point (diagonal)

From the gif it would appear that you already have the program?  :?
dear sir,
i have a program in my office old employ written this program but i want some modification on this lisp, this is vlx file
i create new lisp with layer
Every time we waste electricity, we put our planet's future in the dark. Let's turn around our attiude and start saving power and our planet, before it's too late
http://www.theswamp.org/donate.html

Tharwat

  • Swamp Rat
  • Posts: 710
  • Hypersensitive
Re: how to Achieve only one pick point & both pick point
« Reply #9 on: August 23, 2012, 11:11:00 AM »
Code - Auto/Visual Lisp: [Select]
  1. (if (eq (progn (initget 7 "Two")
  2.                (setq p (getpoint "\n Specify point or <two>:"))
  3.         )
  4.         "Two"
  5.     )
  6.   (progn
  7.     (setq p1 (getpoint "\n Specify first point :"))
  8.     (setq p2 (getpoint "\n Next point :" p1))
  9.   )
  10. )

Sam

  • Bull Frog
  • Posts: 201
Re: how to Achieve only one pick point & both pick point
« Reply #10 on: August 24, 2012, 02:25:57 AM »
Code - Auto/Visual Lisp: [Select]
  1. (if (eq (progn (initget 7 "Two")
  2.                (setq p (getpoint "\n Specify point or <two>:"))
  3.         )
  4.         "Two"
  5.     )
  6.   (progn
  7.     (setq p1 (getpoint "\n Specify first point :"))
  8.     (setq p2 (getpoint "\n Next point :" p1))
  9.   )
  10. )
dear sir,
thx
1 more query how to individual  layer & text style name every text
Every time we waste electricity, we put our planet's future in the dark. Let's turn around our attiude and start saving power and our planet, before it's too late
http://www.theswamp.org/donate.html

Tharwat

  • Swamp Rat
  • Posts: 710
  • Hypersensitive
Re: how to Achieve only one pick point & both pick point
« Reply #11 on: August 24, 2012, 07:46:30 AM »
(if (and ( that program is belong to you and you have access to it )
             (if you mean lay the entity on a specific layer while inserting it )
        )
(just include the name of the layer within the entmake like this '(8 . "Your Layer name"))
otherwise
(You should show your codes)
)
  :wink:

Sam

  • Bull Frog
  • Posts: 201
Re: how to Achieve only one pick point & both pick point
« Reply #12 on: August 25, 2012, 02:54:40 AM »
(if (and ( that program is belong to you and you have access to it )
             (if you mean lay the entity on a specific layer while inserting it )
        )
(just include the name of the layer within the entmake like this '(8 . "Your Layer name"))
otherwise
(You should show your codes)
)
  :wink:
dear sir,
thx...
i start try to working on code i am not expert on autolisp

« Last Edit: August 25, 2012, 03:37:25 AM by Sam »
Every time we waste electricity, we put our planet's future in the dark. Let's turn around our attiude and start saving power and our planet, before it's too late
http://www.theswamp.org/donate.html