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.
Solved! Go to Solution.
Solved by Alexander.Rivilis. Go to Solution.
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;
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"
Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
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.
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"
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"
Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn