Hi,
Yes this is possible:
take this code and put in your I-logic.
'Public Sub dwg()
Dim a As Application
a = ThisApplication
Dim Copydwgfrom As DrawingDocument
'put here your dwg full file name where to copy from
Copydwgfrom = a.Documents.Open("C:\Vault\Projects\w2.dwg", False)
Dim Copydwgto As DrawingDocument
Copydwgto = a.ActiveDocument
Dim shCopy As Sheet
shCopy = Copydwgfrom.Sheets.Item(1)
Call shCopy.CopyTo(Copydwgto)
'End Sub
Then afterwards you can manually export to autocad dwg.
or with this coding:
''Public Sub PublishDWG()
' Get the DWG translator Add-In.
Dim DWGAddIn As TranslatorAddIn
DWGAddIn = ThisApplication.ApplicationAddIns.ItemById("{C24E3AC2-122E-11D5-8E91-0010B541CD80}")
'Set a reference to the active document (the document to be published).
Dim oDocument As Document
oDocument = ThisApplication.ActiveDocument
Dim oContext As TranslationContext
oContext = ThisApplication.TransientObjects.CreateTranslationContext
oContext.Type = kFileBrowseIOMechanism
' Create a NameValueMap object
Dim oOptions As NameValueMap
oOptions = ThisApplication.TransientObjects.CreateNameValueMap
' Create a DataMedium object
Dim oDataMedium As DataMedium
oDataMedium = ThisApplication.TransientObjects.CreateDataMedium
' Check whether the translator has 'SaveCopyAs' options
If DWGAddIn.HasSaveCopyAsOptions(oDocument, oContext, oOptions) Then
Dim strIniFile As String
'first create an ini file manually with the export options
'this will be needed to define the export settings
strIniFile = "C:\tempDWGOut.ini"
' Create the name-value that specifies the ini file to use.
oOptions.Value("Export_Acad_IniFile") = strIniFile
End If
'Set the destination file name
oDataMedium.FileName = "c:\tempdwgout.dwg"
'Publish document.
Call DWGAddIn.SaveCopyAs(oDocument, oContext, oOptions, oDataMedium)
'End Sub
if help is neede please ask.