• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Map 3D

    Reply
    Contributor
    Posts: 21
    Registered: ‎05-22-2009

    Re: Mapimport4 2012 Civil3D

    07-04-2012 05:18 AM in reply to: alfred.neswadba
    Thank-you all for response... My problem is automation with lisp - MAPIMPORT4 works through the command line - MAPIMPORT does not, it brings up a dialog box that stops the routine. The lisp routines I developed way back open the shp, extract with OD data, pulls the OD data from the entities, shades, and relayers imported objects from 20 or so shape files pulled from base map file sites. It was all automated, and I'm trying to get that back. Jim
    Please use plain text.
    *Expert Elite*
    Posts: 6,635
    Registered: ‎06-29-2007

    Re: Mapimport4 2012 Civil3D

    07-04-2012 05:53 AM in reply to: jregier

    Hi,

     

    maybe using the import-option-file (*.IPF) could be a help? Look >>>here<<<

     

    - alfred -

    -------------------------------------------------------------------------
    Alfred NESWADBA
    Ingenieur Studio HOLLAUS ... www.hollaus.at
    -------------------------------------------------------------------------
    Please use plain text.
    Contributor
    Posts: 21
    Registered: ‎05-22-2009

    Re: Mapimport4 2012 Civil3D

    07-04-2012 07:11 AM in reply to: alfred.neswadba
    Alfred I think that'll work, (command "-MAPIMPORT" "SHP" shpfilename "Y" shpimportfile "P") thank-you.
    Please use plain text.
    *Expert Elite*
    Posts: 6,635
    Registered: ‎06-29-2007

    Re: Mapimport4 2012 Civil3D

    07-04-2012 08:19 AM in reply to: jregier

    Hi,

     

    does that work for you? I did some samples like you suggested, at least with Civil3D2013 that did not work (even having FILEDIA set to 0).

    But if it's working for you, then everything is ok for today :smileywink:

     

    - alfred -

    -------------------------------------------------------------------------
    Alfred NESWADBA
    Ingenieur Studio HOLLAUS ... www.hollaus.at
    -------------------------------------------------------------------------
    Please use plain text.
    Contributor
    Posts: 21
    Registered: ‎05-22-2009

    Re: Mapimport4 2012 Civil3D

    07-04-2012 08:41 AM in reply to: alfred.neswadba
    Alfred It was hit and miss but it seems if the input is all valid it rolls through without the dialog box coming up - makes it hard to troubleshoot the command line options but with the imp file that's not as critical and gives me more custom options saving some internal programming. Have to rewrite anyway. It's incredibly frustrating, in this case the MAPIMPORT4 command still works, they've just removed the shp format as one of the supported files - so dgn files still work. It's to the point I dread upgrading. The MS jet4 removal is another huge hit to productivity - I'll be working on that animal next week. I do have cmddia set to 0, and expert set to 2.
    Please use plain text.