Hi,
>> How do we know if we can port it?
With the knowledge of development every code that is done without errors should be portable.
But depending on libraries that are used you might have to do work to port it to
- newer release of AutoCAD
- newer version of operating system
- difference of 32bit and 64bit
- other base programs/api's/... (e.g. if the tool has access to a database server then the type of access can have changed and needs a rewrite of the source code)
>> What is the process of porting it?
Read & understand the code, then do the changes you see that can't work any more.
Then start the application in a development environment and run tests to see where exceptions occur and needs a correction (to be done with different data)
At the end let different user try to work with the product to get the "unused usage" workflows error free.
>> The person who coded the Macro for us has left the company long ago.
If the code is well documented it should be ok for the new guy to understand the project.
But there are always some difficulties when other developers have to continue coding on an existing project
- source code is not documented
- the first developer is something like a genius and so the second guy don't really understand the complexity
- the first developer made too many errors/fixes/errors/fixes/.... so that the code has reached a state that a rewrite would be much more efficient than to port these errors/fixes/...
>> Our current guy has no idea of the inner working of CAD, he is just IT.
When writing applications using some API's then the knowledge about the products behind the API's is not a must, but a big help. At least the IT guy needs a good support from your CAD guys.
>> We hired on a 3rd party programmer to help with this and after not being able to troubleshoot
>> getting the macro to work on the current version of CAD, he suggested he could rewrite the
>> macro in 2017 in Visual Basic.
>> After some time working on it, it does just 10% of what the macro could
Depending on the existing application, how big/complex is it, how "good" is the existing code documented and to understand, ... there are a lot of parameters which influences the manpower needed to get that done. So no-one here can tell you if "some time working to get 10% done" is great or not.
- alfred -
------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ...
blog.ish-solutions.at ...
LinkedIn ...
CDay 2026------------------------------------------------------------------------------------
(not an Autodesk consultant)