I have a cluster constant on my block diagram and I'm trying to get it's image to display it in a picture control.
We can get the image of a cluster control but that not what I want... Is there a way?
You can do what the CCT does - get an image of the entire diagram, then cut out just the section you want.
True, great point! I hadn't thought about it :-o
Beside that is there any "pure scripting way"? I mean... for a cluster control there are methods to get the fp & bd images, I was hopping to find a method to get the bd image for a cluster constants.
Get Image methods are relatively new for block diagram elements. Eariler there was only the method for whole the diagram. So we may expect that in future vesions it will be implemented for constants as well...
If you get the full block diagram image, you can crop it programmatically by using the position and bounds properties of the cluster to determine where to crop.