Scale command on Selection Set via ObjectARX

plorge

Usenet Archive
Joined
Jan 9, 2004
Messages
2
Reaction score
0
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); }
 
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;
 

Latest threads

Back
Top