Relative Content

Tag Archive for velocity

Accessing custom block properties from Cameo

I am trying to access the custom property doctype which is of enum type Document Type created in Cameo. I wish to access all doctype properties of all the blocks in the diagram. Note that my overall goal is to have multiple lists of documents (blocks) sorted by which doctype the blocks are, from a diagram of all of the blocks.

How to access the array which is returned from macro function in velocity templates?

When the below script is executed, the array variable data received from the test macro function is properly stored, but when $var.size or $var.get(0) is executed, it does not work. Since $var works properly, I think the array object was successfully delivered through the macro function. However, I don’t know why $var.size doesn’t work. What […]