Author Topic: Autocad Import command  (Read 2303 times)

0 Members and 1 Guest are viewing this topic.

hobbs1210

  • Mosquito
  • Posts: 2
Autocad Import command
« on: April 22, 2018, 10:12:46 AM »
Hi,
I am currently working on a way to import inventor ipt files into Autocad using C#. Im currently using  AcadDocument.sendcommand, but this requires user interaction. Is there an alternative ways to interface with the import command?

WILL HATCH

  • Bull Frog
  • Posts: 450
Re: Autocad Import command
« Reply #1 on: April 23, 2018, 02:30:14 AM »
Define requires user interaction?
Beyond setting filedia to 0? (I've never used the import .ipt feature)

hobbs1210

  • Mosquito
  • Posts: 2
Re: Autocad Import command
« Reply #2 on: April 23, 2018, 12:12:48 PM »
"Processing background job" dialog would pop up requiring the user to close it.

lamarn

  • Swamp Rat
  • Posts: 636
Re: Autocad Import command
« Reply #3 on: April 23, 2018, 05:38:04 PM »
This inventor import functionality will not work if your Inventor files come from a later version than the AutoCAD version.
It would be nice if user would get a notification of that. But it doesn't.
Design is something you should do with both hands. My 2d hand , my 3d hand ..

ChrisCarlson

  • Guest
Re: Autocad Import command
« Reply #4 on: April 26, 2018, 08:31:04 AM »
You'll have to play with the hidden message settings of FixedProfile.

http://adndevblog.typepad.com/autocad/2013/07/disable-task-dialogs-programmatically.html

BIGAL

  • Swamp Rat
  • Posts: 1414
  • 40 + years of using Autocad
Re: Autocad Import command
« Reply #5 on: April 27, 2018, 03:10:26 AM »
In lisp a lot of the Command type can be run manually with some file dia and a - sign eg -line try it as -import.
A man who never made a mistake never made anything