As I noticed, recently appeared ObjectARX Wizard 2018. I already had an installed ObjectARX Wizard 2017. After installing the ObjectARX Wizard 2018 in Visual Studio, I still used the 2017 version instead of 2018. I decided to deal with this more deeply and came to such results. I want to share them.
Now you have both ObjectARX Wizard:
P.S.S.: Also fixed compile error in debug mode corresponding to default Small Type Check setting to Yes.
Hope it help you to create new project for AutoCAD 2017 and 2018 on one VS 2015 without any problem.
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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
Solved! Go to Solution.
Solved by moogalm. Go to Solution.
Also I hope ADN DevHelp guys fixed ObjectARX Wizards 2018 in accordance with the method I proposed in previous post.
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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
Thanks Alexandra,
Yes this hack can be used for both 2017\2018 wizards, for legacy reasons, I never kept installation to support wizards side by side. I suggested this hack to few customers, but I didn't enforce this in installation.
But again I should thank you for your pursuit on wizards. I will take a note of this and improve the installer.
Alexander,
Thanks, I followed these steps, and yes, I am able to create a new ARX2017 project without any problems. It's when I go to add an ARX class that I get this error message. I'm going to uninstall and reinstall, then reset all of my options to match the other computer exactly. I'll let you know how I make out.
Sorry - I'm lost.
I uninstalled all of the wizards for ObjectARX 2017
I uninstalled VS2015 (update 3)
I re-installed VS2015 (update 3) with fresh download from MSDN
I re-installed ObjectARX 2017 with a fresh download from Autodesk
I deleted all of the files in "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcprojects\Autodesk\" and replaced them with the 2017 files from VS_Autodesk.zip.
I can create a new ARX/MFC project fine.
I can modify and compile all of my existing projects fine, they load properly into AutoCAD and they all function properly. But no matter what else I've tried, I still get the same Microsoft Visual Studio error "Invalid at the top level of the document." (see attached) when I try to add a new ARX class.
I think I'm giving up. I made myself templates "000.h" and "000.cpp" and I guess I'll just do it the old fashion way - by hand!
Anyway, if anybody else has come across this problem and has a solution, please let me know.
FYI, new computer, Windows 10 Pro
Thanks,
Ed
You can try to comment line 437 in file "C:\Program Files (x86)\Autodesk\ObjectARX 2017 Wizards\ArxAppWiz\HTML\1033\default.htm"
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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
@Alexander.Rivilis
Thank you for quick response. I did as you instructed, and I had to fix all files in folder:
C:\Program Files (x86)\Autodesk\ObjectARX 2017 Wizards\ArxAppWiz\HTML\1033
I searched for call to setDirection (); and changed it to <!--setDirection ();-->
Then I had to fix ObjectARX SDK location in project property file: Autodesk.arx-2017.props
<ArxSdkDir> tag was set to E:\...
I just searched for all occurrences of the file on a disk and changed ArxSdkDir tag to the location of ArxSDK on my computer.
I tested for ARX2017 project and it works now.
Excellent! Happy to help you.
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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
I don't know why I just can't get this to work for me. I followed the steps to reinstall the wizards, and then copied over the files from your zip file. I kept getting an error that it couldn't find the path "E:\ObjectArx...." I searched for all instances of this and replaced it with my path "C:\EMD....\ObjectArx 2017".
Then I changed line 337 in "ArxWizMFCSupport\HTML\1033.default.htm"
I was able to create a new project. (See "Add a Class - Okay.JPG")
When I tried to add a new MFC class, I get "Invalid at the top level of the document" (See "Invalid.JPG")
I've been struggling with this for over a year so any advice would be greatly appreciated.
Thanks,
Ed
I wonder if you have solved the problem about invalied top content ? because I have met the same problem with VS2015,ARX2017 ,if you solved it ,please reply me ,really thanks.
I was unable to create MFC class as well. I was able to create new project for 2017 and 2018, but adding MFC classes was not working, so I was forced to uninstall both wizards and install the one that I currently need.
Since it doesn't worked,I turnded to the older version of ARX2012,with VS2010 and cad2012,when I creat MFC Class, It occured the similar problem,the dialogID can't displayed, but I have solved the problem. it seems that the early version have easier problem that can be handled.
Can't find what you're looking for? Ask the community or share your knowledge.