How to obtain control or snap points for dynamic blocks?

How to obtain control or snap points for dynamic blocks?

xropro
Participant Participant
511 Views
3 Replies
Message 1 of 4

How to obtain control or snap points for dynamic blocks?

xropro
Participant
Participant

2023-04-28_215735.jpg

 

As shown in the image, I want to obtain the two grips pointed by the arrows

 

 

0 Likes
Accepted solutions (1)
512 Views
3 Replies
Replies (3)
Message 2 of 4

tbrammer
Advisor
Advisor
Accepted solution

To retrieve grip points you can call

Acad::ErrorStatus   AcDbEntity::getGripPoints(AcDbGripDataPtrArray& grips,
	const double curViewUnitSize, const int gripSize, 
	const AcGeVector3d& curViewDir, const int bitflags
) const;

for the dynamic BREF.

Note that you must delete the AcDbGripData objects in the grips array.


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

Message 3 of 4

xropro
Participant
Participant
How can an Object ARX program obtain a MiniDump file when the program crashes? What is the purpose of the acedDisableDefaultARXExceptionHandler() function? Can you give me an example program to obtain MiniDump files? Thank you!
0 Likes
Message 4 of 4

tbrammer
Advisor
Advisor

That's a new and completely different topic.
Can you please ask this in a new posting? This one is "solved".
So other attendants can find and reply to it.


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

0 Likes