How to create properietes in Command element?

How to create properietes in Command element?

Hi,
I need to create some properties in Command element with VBA code in the Editor. After project conversion from version 5.5 to 7.11 some command elements have missing properties (the upper part of the picture is showing the correct structure, the lower part is what I have got after conversion)
I tried to do it like this:
result = obEle.CreateDynProperty ("Action[0].PictFilter[0]")
result = obEle.CreateDynProperty ("Action[0].PictFilter[0].VariableRI")
But it doesn't work. Any ideas how to create all properties like are shown in the upper part of the picture
BR.
L.

This is a migrated post! Originally posted on 02.11.2015 by user rrkobra. Please be aware that information can be outdated.