ObjectARX

Reply
Active Member
igorg1234
Posts: 8
Registered: ‎02-17-2012
Message 1 of 5 (190 Views)
Accepted Solution

subGetOsnapPoints override

190 Views, 4 Replies
04-06-2012 02:26 PM

 

Does someone faced the limitation when overriding the subGetOsnapPoints.

The  subGetOsnapPoints is not fire-up at all on my custom entity.

 

I have attached the solution. I am missing something.

 

I use ACad 2012 on WIN7 x64.

The same example is working properly on XP(x32). 

 

Thanks for any suggestion.

 

 

 

 

Moderator
Alexander.Rivilis
Posts: 1,389
Registered: ‎04-09-2008
Message 2 of 5 (186 Views)

Re: subGetOsnapPoints override

04-06-2012 03:33 PM in reply to: igorg1234
Acad::ErrorStatus AuPolyline::subGetOsnapPoints (
    AcDb::OsnapMode osnapMode,
    /* int */ Adesk::GsMarker gsSelectionMark, // Not 'int' but 'Adesk::GsMarker'
    const AcGePoint3d &pickPoint,
    const AcGePoint3d &lastPoint,
    const AcGeMatrix3d &viewXform,
    AcGePoint3dArray &snapPoints,
    AcDbIntArray &geomIds) const;


 


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Active Member
igorg1234
Posts: 8
Registered: ‎02-17-2012
Message 3 of 5 (168 Views)

Re: subGetOsnapPoints override

04-07-2012 02:08 AM in reply to: Alexander.Rivilis

Many thanks,

 

By the way the  declatation for "subGetOsnapPoints" has been  got from ARX Wizard 2012.

So, this should be a message for other users that they should allways check the original heather file for the aguments. 

 

 

 

Moderator
Alexander.Rivilis
Posts: 1,389
Registered: ‎04-09-2008
Message 4 of 5 (164 Views)

Re: subGetOsnapPoints override

04-07-2012 02:33 AM in reply to: igorg1234

igorg1234 wrote:

By the way the  declatation for "subGetOsnapPoints" has been  got from ARX Wizard 2012.


It is possible to change once two files used by ObjectARX Wizard 2012:

"C:\Program Files\Autodesk\ObjectARX Wizards for AutoCAD 2012\ArxWizCustomObject\Templates\1033\object.cpp" 

"C:\Program Files\Autodesk\ObjectARX Wizards for AutoCAD 2012\ArxWizCustomObject\Templates\1033\object.h"


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Active Member
igorg1234
Posts: 8
Registered: ‎02-17-2012
Message 5 of 5 (154 Views)

Re: subGetOsnapPoints override

04-07-2012 09:44 AM in reply to: Alexander.Rivilis

Thanks,  

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community