solid object insertion point in DXF

Discussion in 'AutoCAD' started by trexx, Jul 30, 2006.

  1. trexx

    trexx Guest

    When I scan a dxf file of a solid like a box or sphere I don't see an
    obvious code 10,20 or 30 for an xyz insertion point. I do see that a solid
    is code in some sort of packed ascii format. Any words of wisdom on parsing
    out an object from a dxf file and then reconstructing a new dxf with copies
    of the object placed elsewhere. Is this a doable hack?
    Rex
     
    trexx, Jul 30, 2006
    #1
  2. trexx

    R.K. McSwain Guest

    The ACIS solid information is encrypted.

    If you are on 2002, you may be able to WBLOCK the solid as a DesignXML
    file, then parse the XML file for the info you need.

    Check this thread also:
    http://tinyurl.com/etg99
     
    R.K. McSwain, Jul 30, 2006
    #2
  3. trexx

    trexx Guest

    Are you saying that only acad2002 does this? My 2005 doesn't appear to save
    as a .xml file..
    rex
     
    trexx, Jul 30, 2006
    #3
  4. trexx

    R.K. McSwain Guest


    Yes, they removed this functionality in later releases.

    Note that it's DesignXML, only found in 2002 WBLOCK, IIRC.
     
    R.K. McSwain, Aug 3, 2006
    #4
  5. Hi,

    The "encryption" is pretty lame, a simple character replacement scheme.
    Try a google on this group using keywords "acisdecode owen wengerd".
    That gets you the information.

    As for transformation ... I'd be hesitant to even start. There are many
    ACIS entity types and you need to support every single on to get
    reliable functionality. I'd recommend joining the Open Design Alliance
    and using DWGDirect to transform the objects.

    Henrik Vallgren
    www.streamspace.com
     
    Henrik Vallgren, Aug 7, 2006
    #5
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.