Results 1 to 3 of 3

Thread: How to avoid 0º in polarang

  1. #1
    Member
    Join Date
    2012-08
    Posts
    8
    Login to Give a bone
    0

    Default How to avoid 0º in polarang

    Hi all. I am new in the group and I'm not English speaker, so excuse me if I don't make me understand well enough.
    I'm building an AutoLISP routine that will allow the drawing in different kinds of perspectives such as calleri din5 ... in a similar way as it is done from the perspective isometric autocad. I can get the axis directions with the system variables polaraddang and polarang. The problem I have is that I can not avoid the angle of 0 °. At any rate I always have a scanning angle of 0 °.
    Is there anyone who can help me how to avoid this value?




    thanks for your help

  2. #2
    I could stop if I wanted to
    Join Date
    2005-06
    Location
    CORDOBA-ARGENTINA
    Posts
    275
    Login to Give a bone
    0

    Default Re: How to avoid 0º in polarang

    show your lisp

  3. #3
    Member
    Join Date
    2012-08
    Posts
    8
    Login to Give a bone
    0

    Default Re: How to avoid 0º in polarang

    here's some code.
    once you call de new command da you can draw lines in all the polar anle defined and also in 0º, which, in this context, is only a nuisance.


    ;; da Dibuix de perspectives axonomètriques.


    (defun c:da ()

    (setq ;; exemple d'una perspectiva Din5 amb reducció a de l'esquerre de 0.666
    c_red 0.666
    ang1 90
    ang2 270
    ang3 172.819
    ang4 352.819
    ang5 41.41 dred1 ang5
    ang6 221.41 dred2 ang6
    )






    (setvar "auprec" 3)
    (setvar "polarmode" 6)
    (setvar "autosnap" 63)
    (setvar "polaraddang" (strcat (rtos ang1 2 3) ";"
    (rtos ang2 2 3) ";"
    (rtos ang3 2 3) ";"
    (rtos ang4 2 3) ";"
    (rtos ang5 2 3) ";"
    (rtos ang6 2 3)
    )
    )
    )
    Last edited by jordigort; 2012-08-15 at 05:57 AM.

Similar Threads

  1. How to avoid geometry error?
    By peijingx798404 in forum Robot Structural Analysis
    Replies: 0
    Last Post: 2012-08-24, 01:47 PM
  2. Best Workstation to Buy, Ones to Avoid?
    By ahefner in forum Revit MEP - General
    Replies: 6
    Last Post: 2007-06-27, 08:28 PM
  3. How to avoid this?
    By Maximillian in forum Revit Architecture - General
    Replies: 12
    Last Post: 2007-04-02, 11:09 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •