Results 1 to 1 of 1

Thread: Programming with AutoCAD 2015 and VS 2012

  1. #1
    100 Club
    Join Date
    2011-08
    Location
    Vadodara, India
    Posts
    147
    Login to Give a bone
    0

    Default Programming with AutoCAD 2015 and VS 2012

    Hello,

    I have created using AutoCAD 2015 with VS 2012 programs it gets error in

    Code:
    TxtObj.StyleName = "ROMANS"  ' sometime give error 
    TxtObj.Rotation = North           ' sometime give error 
    TxtObj = NewDrawing1.ModelSpace.AddText(Txt6, Pt11, TxtHt)  ' sometime give error 
    TxtObj.Rotate(Pt11, North) ' sometime give error 
    Dim ColorCyan As AcadAcCmColor ' sometime give error


    ERROR WAS

    Code:
    "COMException was unhandled"
    Above mentioned error give sometimes not every time one type of error. it gives sometime error in line1, next time line3, and so on.

    earlier I have creacted with AutoCAD 2014 with VS 2010 it works good without interruption.

    Is there revise any commands in newer version.

    Can any one give any solution. Please help me.

    Thanks in Advance,

    Avinash
    Last edited by BlackBox; 2014-08-12 at 12:52 PM. Reason: Please use [CODE] Tags

Similar Threads

  1. Replies: 8
    Last Post: 2016-04-20, 06:41 PM
  2. 2015: Vault 2015 R2 upgrade. SQL 2008 R2 SP2 or SQL 2012?
    By kevin.hay686317 in forum Vault - General
    Replies: 1
    Last Post: 2015-03-23, 03:36 PM
  3. Windows XP - Autocad MEP 2015 and Revit 2015
    By wiegmanroger433258 in forum Operating Systems
    Replies: 2
    Last Post: 2015-01-15, 01:42 PM
  4. Replies: 6
    Last Post: 2013-09-19, 10:08 AM
  5. Replies: 0
    Last Post: 2013-06-12, 04:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •