Using to feed points to DEFINE method in MAPBREAK command?

Discussion in 'AutoCAD' started by RaghuMN, Mar 19, 2005.

  1. RaghuMN

    RaghuMN Guest

    Hi all,

    Related to AutoDesk Map:
    Anyone aware of how to programatically feed values at the 'Define' method in the prompt of MAPBREAK command?
    (Prompt is as follows:Enter map breaking method (Extents/Select/Define) <D>)

    I tried this way, but it did not work.

    (command "mapbreak" "D" (foreach pt ptlst (command pt)) "Y" parlyrs "y" cset "" "y" "y")

    where
    ptlst is the list of points at which the objects should be
    broken
    parlyrs is the layer name of objects that should be broken
    cset is the selection set fed for breaking.

    Please suggest a way.

    Thanks,

    MNRaghu
     
    RaghuMN, Mar 19, 2005
    #1
  2. RaghuMN

    Nirmal Guest

    Hi RaghuMN,
    I got it. Please try this one.
    (command "_mapbreak" "d" )
    (foreach z e (command z))
    (command "" "y" "parcels" "n" "n" "n")

    here e is the list of points
    eg

    ((209.178 77.9972 0.0) (193.622 195.132 0.0) (294.183 226.775 0.0) (384.743
    118.522 0.0))
     
    Nirmal, Mar 21, 2005
    #2
  3. RaghuMN

    RaghuMN Guest

    Thanks Nirmal,

    Perfect.
    (Don't know why I missed this :()

    MNRaghu
     
    RaghuMN, Mar 21, 2005
    #3
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.