AnsweredAssumed Answered

FabricationLayerGfxs return nothing if cell is opened from library manager

Question asked by phiet on Nov 15, 2017
Latest reply on Nov 17, 2017 by phiet

I experencience strange behavior

 

Manually open the cell in cell editor than drop in code with

set Doc = Application.ActiveDocument

Doc.FabricationLayerGfxs is ok, code will return fab layer such as assembly outline.

 

however, if I open the cell editor from automation's root

set CellEditorDlgObj = createObject("CellEditorAddin.CellEditorDlg"

....

Doc = cell.edit()

Doc.FabricationLayerGfxs will return nothing

 

Does anyone have any idea ?

Thanks

Outcomes