Post by benediktenger on Access project information of references library by script
CODESYS Forge
talk
(Post)
Hi, I need to accesss to project information of a referenced library in the project. At least I need the "Released" flag from these information to check that no project gets shipped with unreleased libraries. Unfortunally, I do not get this information by script. I archieved to get the library reference object and the managed library object but both won't give me this flag but only basic information like company, name, version, etc. Here is my code: # get the library refernces proj = projects.primary objects = proj.get_children(recursive=True) for object in objects: if object.is_libman: for libref in iter(object): if libref.is_placeholder and isinstance(libref.effective_resolution,str): print(libref) print(libref.name) # get the managed libraries libs = librarymanager.get_all_libraries() for lib in libs: print(lib.displayname) print(lib.version) Does somebody know how do get these information?
Last updated: 2023-10-23
Viewing Source Code for Visualization Object
CODESYS Forge
talk
(Thread)
Viewing Source Code for Visualization Object
Last updated: 2007-07-03
Accessing a library object without using the namespace
CODESYS Forge
talk
(Thread)
Accessing a library object without using the namespace
Last updated: 2018-08-17
zoom and navigation object in trace or reset trends
CODESYS Forge
talk
(Thread)
zoom and navigation object in trace or reset trends
Last updated: 2021-11-04
String type object length in CANopen OD?
CODESYS Forge
talk
(Thread)
String type object length in CANopen OD?
Last updated: 2010-01-09
JSON parsing and composing library: null object
CODESYS Forge
talk
(Thread)
JSON parsing and composing library: null object
Last updated: 2023-08-14
Print text and time in the same object
CODESYS Forge
talk
(Thread)
Print text and time in the same object
Last updated: 2022-05-19
Depictor Library Missing in Depictor-Object-Selection
CODESYS Forge
talk
(Thread)
Depictor Library Missing in Depictor-Object-Selection
Last updated: 2019-07-10
Error SA0027 : Object name is already used in library
CODESYS Forge
talk
(Thread)
Error SA0027 : Object name is already used in library
Last updated: 2014-06-26
Configuring a CIP object for Explicit Message
CODESYS Forge
talk
(Thread)
Configuring a CIP object for Explicit Message
Last updated: 2023-04-05
SoftMotion, accessing PDO input data via object ref/pointer
CODESYS Forge
talk
(Thread)
SoftMotion, accessing PDO input data via object ref/pointer
Last updated: 2015-07-14
Search and replace doesn't work in visualation object?
CODESYS Forge
talk
(Thread)
Search and replace doesn't work in visualation object?
Last updated: 2016-11-26
Object Oriented extensions for IEC61131 - Bernhard Werner
CODESYS Forge
talk
(Thread)
Object Oriented extensions for IEC61131 - Bernhard Werner
Last updated: 2017-01-31
trend visualisation bug with date time picker object
CODESYS Forge
talk
(Thread)
trend visualisation bug with date time picker object
Last updated: 2022-09-28
Access visualization object property through code
CODESYS Forge
talk
(Thread)
Access visualization object property through code
Last updated: 2015-04-08
Object oriented programming in Codesys V2?
CODESYS Forge
talk
(Thread)
Object oriented programming in Codesys V2?
Last updated: 2013-01-29
New Communication Manager with "OPC UA Server" Object
CODESYS Forge
talk
(Thread)
New Communication Manager with "OPC UA Server" Object
Last updated: 2022-05-11
Scan Network with PLC Handler ActiveX Object?
CODESYS Forge
talk
(Thread)
Scan Network with PLC Handler ActiveX Object?
Last updated: 2011-05-04
Search and replace doesn't work in visualation object?
CODESYS Forge
talk
(Thread)
Search and replace doesn't work in visualation object?
Last updated: 2016-07-13
Using the "Position" Input Selection for Object Va
CODESYS Forge
talk
(Thread)
Using the "Position" Input Selection for Object Va
Last updated: 2007-12-21
Monitor working counter via the EtherCAT_Master object?
CODESYS Forge
talk
(Thread)
Monitor working counter via the EtherCAT_Master object?
Last updated: 2016-09-10
WEBVISU / ROTATE OBJECT WITHOUT ROTATING TEXT INSIDE
CODESYS Forge
talk
(Thread)
WEBVISU / ROTATE OBJECT WITHOUT ROTATING TEXT INSIDE
Last updated: 2022-06-07
Execute custom object commands in python script
CODESYS Forge
talk
(Thread)
Execute custom object commands in python script
Last updated: 2014-01-09
JSON parsing and composing library null object
CODESYS Forge
talk
(Thread)
JSON parsing and composing library null object
Last updated: 2022-12-20
No source code available for this object
CODESYS Forge
talk
(Thread)
No source code available for this object
Last updated: 2024-07-15
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.