Scale command on Selection Set via ObjectARX

Discussion in 'AutoCAD' started by plorge, Jan 9, 2004.

  1. plorge

    plorge Guest

    Hi,
    I have been trying to do this with no success. Here are a couple of my
    attempts. Any suggestions would be greatly appreciated.
    Try #1:
    bRetval =
    acedCommand(RTSTR,"_.scale",
    RTLB, RTPICKS, ssLegend, RTSTR, " ", RTLE,
    RTPOINT, pt1,
    RTLB, RTREAL, dScale, RTSTR, " ",RTLE,0);
    resbuf* pBuf = acutBuildList(RTSTR,"._scale", RTPICKS, ssLegend,RT3DPOINT,
    p1,RTREAL, dScale,RTNONE);

    if (pBuf)

    {bRetval = acedCmd(pBuf);

    acutRelRb(pBuf); }
     
    plorge, Jan 9, 2004
    #1
  2. plorge

    plorge Guest

    Hi,
    Try #2 on this scale attempt is the following code. Thanks in advance for
    any help.

    resbuf* pBuf = acutBuildList(RTSTR,"._scale", RTPICKS, ssLegend,RT3DPOINT,
    p1,RTREAL, dScale,RTNONE);
    if (pBuf){bRetval = acedCmd(pBuf); acutRelRb(pBuf); }

    Valid values exist for:

    ads_name ssLegend ; //selection set

    double dScale;

    ads_point p1;
     
    plorge, Jan 9, 2004
    #2
  3. plorge

    Mark Propst Guest

    have you tried the arx group?
     
    Mark Propst, Jan 9, 2004
    #3
  4. plorge

    Anne Brown Guest

    plorge -

    The group for ARX issues would be a better place for your
    message. The ObjectARX newsgroup for NTTP newsgroup readers can
    be found at
    news://discussion.autodesk.com/autodesk.autocad.objectarx.

    You may also access the ARX discussion group via the HTTP
    web-based forums at
    http://discussion.autodesk.com/forum.jspa?forumID=34
     
    Anne Brown, Jan 11, 2004
    #4
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.