I have sketch 81.1 and principle 6.14 (all up to date) when i try to import a single artboard to principle the result is a failure, no problems if import all artboards from sketch. Anyone else noticed this problem?
TypeError: selection.objectAtIndex_( i). parentArtboard is not a function. (In ‘selection.objectAtIndex_( i). parentArtboard()’, ‘selection.objectAtIndex_( i). parentArtboard’ is undefined)
at exportDirect (/Users/-----------/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Untitled.sketchplugin:134:80)
at onRun (/Users/----------/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Untitled.sketchplugin:950:13)
TypeError: selection.objectAtIndex_( i). parentArtboard is not a function. (In ‘selection.objectAtIndex_( i). parentArtboard()’, ‘selection.objectAtIndex_( i). parentArtboard’ is undefined)
at exportDirect (/Users/Adam/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Untitled.sketchplugin:134:80)
at onRun (/Users/Adam/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Untitled.sketchplugin:950:13)
@Adam.s@CUX I’m not seeing the issue you’re seeing. Could you share a sketch file with the issue along with what layer you’re selecting in sketch before switching to Principle to import?
Hi Daniel,
there is no specific case, the problem occurs every time I have multiple artbords in sketch and in principle I try to import only one of them (it always worked before) the issue does not occur if i import all artboards. As you know sometimes you need to make a change only in a single artboard and is a bit annoying to import all document everytime…
@Adam.s@CUX Thanks for the information. I still haven’t been able to reproduce the problem, but I changed something in 6.15 that might fix the issue for you. try out 6.15 and let me know how that goes.
Hi Daniel just to tell you, i have installed 6.15 and it seems that the “import selected” command now works as “import page” in fact it brings all the artboards inside “Principle “ although only one was selected. However i can work anyway … hope the issue will be solved soon. Regards!