support vba in Civil 3D 2011 ?

support vba in Civil 3D 2011 ?

dnl999
Advocate Advocate
4,065 Views
21 Replies
Message 1 of 22

support vba in Civil 3D 2011 ?

dnl999
Advocate
Advocate
I have some VBA routines I downloaded and some were created in our office.
Some were written for Civil 3D 2006-2008 and we had to modify them to work in 2010.
Are we able to use these in Civil 3D 2011 ? I heard there was a drastic change in the Civil 3D api in 2011 version.
TIA.
0 Likes
4,066 Views
21 Replies
Replies (21)
Message 21 of 22

Anonymous
Not applicable
Hello Terry,
I think the real problem for Autodesk is that they had to hack VBA to keep
it running in 64bit autocad (becomes an out of process application). With
the testing I've done you take about a 10x hit in performance when you use
VBA in 64bit Autocad.

> On 4/16/2010 1:32 PM, Michael Robertson wrote:
>
>> The VBA IDE decision is really Microsofts (not Autodesk), they
>> (supposedly) stopped the development and new licensing a few years
>> ago.
>>
> But have they stopped allowing existing licensees to continue with the
> last version available, I doubt it.
>
> I believe the fact that Autodesk must pay Microsoft some amount on
> each new license (others pay $50 in small quantities) is the LEADING
> (but not exclusive) factor in Autodesk's decision. In my opinion
> "Follow the money" applies here.
>
> Terry
>
0 Likes
Message 22 of 22

Anonymous
Not applicable
On 4/19/2010 8:26 AM, Michael Robertson wrote:

> I think the real problem for Autodesk is that they had to hack VBA
> to keep it running in 64bit autocad (becomes an out of process
> application). With the testing I've done you take about a 10x hit in
> performance when you use VBA in 64bit Autocad.

Discovered that a long time ago with the first 64bit AutoCAD (2008),
prompting the beginning of porting all VBA code to .NET. That 'hit'
applies to all AutoCAD functionality, not just custom VBA code, and
simply issuing the VBAMAN command (and cancelling) starts it.

Terry
--
Never start any job without the right tools!
AutoCAD Add-on Tools at http://www.dotsoft.com
0 Likes