How Save drawing into older version in ObjectDBX method.

How Save drawing into older version in ObjectDBX method.

Anonymous
Not applicable
1,108 Views
2 Replies
Message 1 of 3

How Save drawing into older version in ObjectDBX method.

Anonymous
Not applicable

In my current task I am use AutoCAD electrical 2018 , develop customize tool which open 100's of drawings file in ObjectDBX and change font style, and save it. here I observe after open and save file in ObjectDBX , by default file saved into AutoCAD Current version. (AutoCAD 2018, even though you set save type option is older version).

 

To solve this issue I am change save type option to (AutoCAD 2010) but due to open and save file in ObjectDBX again drawing files save by default in AutoCAD 2018.

 

on internet I found solution for change save type option in AutoLISP but all answer need to open drawing and then save it. but in my case I am not directly open drawing file, I am open file  using ObjectDBX  method.

 

is any one know how to change save type of drawing file in ObjectDBX  method.

0 Likes
1,109 Views
2 Replies
Replies (2)
Message 2 of 3

_gile
Consultant
Consultant

Hi,

 

You should try the SaveAs method (vla-SaveAs ...)



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 3

cadffm
Consultant
Consultant

The FielType option is not available in objectDBX (thats why the external Reference-Manager also only save in the native file format version).

 

As Workaround you can use the accoreconsole(acc),

v1) Do all in acc

v2) Start acc after the odbx-job (incl. save)

In acc you can use the normal "saveas" command.

Sebastian

0 Likes