PDA

View Full Version : Could not locate a defined factory class that inherits from "IGenericFactory"!



stib
06-25-2013, 11:10 PM
I'm just dipping my toe in the water of writing some python for LW and…


Could not locate a defined factory class that inherits from "IGenericFactory"!

…that's all I get whenever I try to run any python script (so far I've only tried the sample ones that come with the install) in modeler or layout.

Looks like I'm missing some modules or something? This is a new install: Ver 11.5 Build 2519 (Mac64) 27-Jan-2013

-stib

iain_r
06-26-2013, 03:16 AM
Nope, generics and master are the only ones that you can run from the console in Layout, modeler scripts are CommandSequenceFactory. Check out Bighache's tutorials from the sticky. You should also have a pdf in your download area with an overview of how the python plugins are constructed. If you don't have it I can post a copy, although I think it's on this forum somewhere.

Regards

Iain