DELOBJ variable

Discussion in 'AutoCAD' started by Marcel Goulet, Jun 10, 2004.

  1. Hi,

    i would like to know where autocad stores the boundary selection set related to the variable DELOBJ ?
     
    Marcel Goulet, Jun 10, 2004
    #1
  2. Not sure exactly what you are after here but
    does (ssget "p") help at all?

    Perhaps you could explain exactly what you
    are trying to accomplish.

    --
    Autodesk Discussion Group Facilitator


    related to the variable DELOBJ ?
     
    Jason Piercey, Jun 11, 2004
    #2
  3. I'm making a hatch program with predefine values and the hatch command cause problems with the selection mode Pick.

    For the selection mode "Select", it's simple because I can previously make a selection set (setq BOUNDARY (ssget)) to appy to the hatch command after (command ".-bhatch" "Properties" PATTERN "s" BOUNDARY "" "")
    That works well.

    For the selection mode "Pick", what could I do to previously obtain a list of pick point to apply to the hatch command ??

    Thanks
     
    Marcel Goulet, Jun 11, 2004
    #3
  4. You might be able to use the bpoly function.
    Not that familiar with how it actually works
    but have seen the topic discussed in this group
    on a number of occasions.

    Or possibly (thinking out loud here) use the
    boundary command and the polyline that it
    creates to hatch against then delete it.

    Not sure if there is a more direct route.

    --


    Autodesk Discussion Group Facilitator

    cause problems with the selection mode Pick.
    a selection set (setq BOUNDARY (ssget)) to appy to the hatch command after
    (command ".-bhatch" "Properties" PATTERN "s" BOUNDARY "" "")
    of pick point to apply to the hatch command ??
     
    Jason Piercey, Jun 14, 2004
    #4
  5. Hi Jason,

    Juste for your information, I tried alot of possibility to automatisate some hatch pattern.

    The problem with BPOLY, when we create a polyline and delete it after, the entity loose his associativity. What I needed is when we want a hatch using the pick fonction.

    What I did to solve the problem, I juste create a getpoint in a while whit a counter and each time the user pick somewhere I create a variable POINT_1, POINT_2, etc.

    After, tu create the hatch, I do:
    (cond
    ( (= INDEX 1)
    (command "._bhatch" "Properties" SÉLECTION_PATTERN POINT_1 "") )
    )
    ( (= INDEX 2)
    (command "._bhatch" "Properties" SÉLECTION_PATTERN POINT_1 POINT_2 "") )
    )
    ....
    ....
    ....
    ( (= INDEX 20)
    (command "._bhatch" "Properties" SÉLECTION_PATTERN POINT_1 POINT_2 etc... "") )
    )
    )

    I tried to use, in the hatch command, a foreach and a repeat with a list, but i it didn't work.

    Thanks, any way.

    Marcel
     
    Marcel Goulet, Jun 14, 2004
    #5
  6. Marcel Goulet

    bruno Guest

    Marcel Goulet a écrit :

    (command "._bhatch" "properties" sélection_pattern)
    (mapcar '(lambda (x) (command x)) list_of_points)
    (command "")

    doesn't work ?
     
    bruno, Jun 15, 2004
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.