Message 1 of 3
DynamicProperties emptied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I need to replace a dynamic block by its equivalent static block, transforming dynamic properties in attributes. My code is like :
Dyn_props = oBloc.GetDynamicBlockProperties
oBloc.ConvertToStaticBlock(NewName)
'... create one attribute for each property...
The problem is when I convert the block to static, all the properties values are lost ! The properties still exist, but they are all on "empty". If I debug on Dyn_props, I can see :
-before oBloc.ConvertToStaticBlock(NewName) : all the properties exist and have the right value in Dyn_props
-after I execute oBloc.ConvertToStaticBlock(NewName) : all the properties in Dyn_props still exist, but their value is Empty...
Any idea ?