Error changing the Ballon text hieght

Discussion in 'AutoCAD' started by SharathMullur, Mar 1, 2004.

  1. Hi:
    I am trying to scale the ballon text with the following code.
    I am getting the error "Error loading DLL" when i try to set the text hight. This function was working for quite some time and now it does not.
    Please help me, I Have re-installed mdt atleast 5 times!!!!!
    Thanks in advance.

    Sharath Mullur

    Public Function ScaleLeaderText(ByRef dblScale As Double) As Long
    On Error Resume Next

    Dim symbb As McadSymbolBBMgr
    Dim objBallonStd As McadBalloonStandard

    Set symbb = AcadObject.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr")
    If Not symbb Is Nothing Then

    symbb.StandardMgr.CurrentStandard.TextHeight = dblScale
    symbb.StandardMgr.UpdateSymbols
    ScaleLeaderText = 0
    Else
    ScaleLeaderText = -1
    End If

    End Function
     
    SharathMullur, Mar 1, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.