I’m currently trying to rebuild a pc plugin to a mac plugin and am getting some odd results.
Firstly some background:
I am using the template for xamarin as a guide to rebuild by and am slowly cutting and pasting methods into the ‘RunCommand’ to test each method individually because my first attempts at compiling the complete plugin resulted in a plugin that would not launch for a user - ie. the plugin appeared not to be recognized at all by rhino despite compiling successfully and providing no error when launching the rhino application itself.
Early, piecemeal builds according to the above ‘divide and conquer’ test method seem successful however I’ve noted a surprising result. FindByFullPath seems not to be recognized in the mac version. For example the successfully compiled plugin halts and fails to return the message “stop test” when trying to test for layers such as in the nested layer example below:
String full_name = " layer a :: nested layer b :: nested layer c";
Int32 id = doc.Layers.FindByFullPath(full_name, true);
The failure occurs regardless of the layers being present or not.
- As a result of the above surprise I’m curious if there is a list of known reliable methods that can be used or alternatively avoided before I proceed too much further with this work or if recommendations can be made for how to best proceed.