Home › Forums › GENERAL › API OptiSystem (Interface) › Reply To: API OptiSystem (Interface)
hello Marc Verreault,
thank you very much for your quick reply,
i Use OptiSystem Version 9.0
When i use Computer with Windows7 ( 32bits ), the project Matlabcalloptisystem.osd works perfectly.
but when i use OptiSytem windows7 (64bits) he display this error even if i use the Code that you gave me.
No appropriate method, property, or field GetLayoutMgr for class
Interface.optisystem_application.GetActiveDocument
I noticed a difference between the two after running the program,
With Windows7(32)
After execution the line “Document = optsys.GetActiveDocument”
Interface.SDKOptiSystem_application_Design_1.0_Type_Library_ISDKOptiSystemDoc
But with windows7(64bits)
After execution the line “Document = optsys.GetActiveDocument”
Interface.optisystem_application.GetActiveDocument
and in the second line “LayoutMngr = Document.GetLayoutMgr;” , he display the error
No appropriate method, property, or field GetLayoutMgr for class
Interface.optisystem_application.GetActiveDocument
Regards
Categories
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)