Subclass Marker List

Discussion in 'AutoCAD' started by Kevin Grigsby, Jan 16, 2004.

  1. Here's another one for ya'll,

    Is there some enumeration or list somewhere I can get the complete list of
    Subclass Markers?

    Meaning if you are stepping through say the items of a Block object and
    waiting for a specific type of sub object. I have always just figured out
    what the ObjectName was and then just typed that AcDbxxx into my code. If
    there was some Subclass.xxx list I could use that would be great, soz not to
    misstype?

    Thanks,
    Kevin Grigsby
     
    Kevin Grigsby, Jan 16, 2004
    #1
  2. You can use the VBA class names (i.e. AcadText, AcadLine) with something like
    this:

    If TypeOf objEnt Is AcadText Then
    ' Do some stuff
    End If

    As an added bonus when you press the space bar after typing in "Is,"
    intellisense will pop up a list of different types for you to chose from.
     
    Chuck Gabriel, Jan 16, 2004
    #2
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.