How to access variables from other macros in LayoutEditor ?

Status
Not open for further replies.

melkord

Full Member level 3
Joined
May 18, 2018
Messages
151
Helped
0
Reputation
0
Reaction score
1
Trophy points
18
Activity points
1,767
Hi,

I am designing a simple structure but repetitive using LayoutEditor by juspertor GmbH.
I have 2 macro files and I want to access the variables I set in the first file.

I get the idea of accessing the class with the pointer but still I am confuse with e.g. how to read the size of the box which created by the first macro.

So far I have been using macros to draw and instantiate the cells.
But I do not know how to read some variable.

I tried to google it, but still I cannot find any deep tutorial how to use the macro and the classes.

If you have any deep tutorial for this software, I am happy to read it.
This is the list of classes and other documentation.


I really appreciate any help.
 

I think you may need to assert variable values at the next
level up in the hierarchy and pass them down to both macros.
I've never seen a schematic or layout tool which will push
variables / values back up the hierarchy.
 

I ended up writing the script in a single file.
I will keep the thread open though, maybe there will be reply in the future.
 
Last edited:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…