Ilogic parasolid export solid body visibility
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We export to parasolid via Ilogic for CNC nesting purposes; until recently IV solid bodies hidden in multi-body parts did not export or exported 'empty'. We recently experienced that both visible and hidden bodies are now exporting and this is not desired.
Are there options I can set in Ilogic to configure the export as desired, i.e. hidden bodies not exported? If so, how do I go about this? Our current Ilogic snip is below for reference:
'Get and configure Parasolid translator------------------------------------------------------------------
'Get the assembly model from the view defined as VIEW1 in the drawing
'Dim strDoc As Inventor.Document = ActiveSheet.View("VIEW1").ModelDocument
Dim strDoc As Inventor.AssemblyDocument = ThisApplication.Documents.Open(strAssyName, False)
'Dim strSBRenamePart As Inventor.PartDocument = ThisApplication.Documents.Open(strPartFullFileName, False) 'opens file as not visible
xtAddIn = ThisApplication.ApplicationAddIns.ItemById("{A8F8F8E5-BBAB-4f74-8B1B-AC011251F8AC}")
'strDocument = ThisApplication.ActiveDocument
strContext = ThisApplication.TransientObjects.CreateTranslationContext
strContext.Type = IOMechanismEnum.kFileBrowseIOMechanism
strOptions = ThisApplication.TransientObjects.CreateNameValueMap
strDataMedium = ThisApplication.TransientObjects.CreateDataMedium
If xtAddIn.HasSaveCopyAsOptions(strDoc, strContext, strOptions) Then
strOptions.Value("Version") = 31
End If
'Set the destination file name
strDataMedium.FileName = strParasolidFullFileName & ".x_t"
'Publish document.
xtAddIn.SaveCopyAs(strDoc, strContext, strOptions, strDataMedium)
'Close assembly model
strDoc.Close