VBScript in AutoCAD Arch & MEP PSDs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was fritzin' around with some code I found that seems to work in AutoCAD MEP Formula PDS. I know that Formula Properties can use VBScript...
But below fragment looks like VBA... Is it?
I am in 2011 and will soon be moving to 2012... I thought VBA is no longer supported by Autodesk, but is a separate download. If the below is VBA which I am assuming, how does this work?? ... is it that VBScript is actually a kind of a subset of VBA?
Assuming VBScript can run VB based code... Can someone point me to the latest documentation on VBA, The MEP (or at least AutoCAD) Object Model, Events, Properties and Methods?
Select Case AcadVerString
Set aecBase = acadApp.GetinterfaceObject(aecBaseVer)
aecBase.Init acadApp
Set Obj = AcadApp.ActiveDocument.HandleToObject("270C1")
blkname = Obj.EffectiveName
RESULT = blkname