以图形方式拖动选择集
该函数提示用户拖动一组选定对象,如以下示例所示:acedDragGen() int rc;
ads_name ssname;
ads_point return_pt;
// Prompt the user for a general entity selection.
if (acedSSGet(NULL, NULL, NULL, NULL, ssname) == RTNORM)
// The newly selected entities
rc = acedDragGen(ssname,
"Drag selected objects", // Prompt
0, // Display normal cursor (crosshairs)
dragsample, // Transformation function
return_pt); // Set to the specified location.
第四个参数指向执行实体转换的函数。有关 和 的示例,请参见选择集的转换。dragsample()acedDragGen() 父主题: |
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-10-29 09:55
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.