‎12-09-2010 01:32 AM
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?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
‎12-09-2010 02:02 AM
You can do what the CCT does - get an image of the entire diagram, then cut out just the section you want.
‎12-09-2010 02:47 AM
True, great point! I hadn't thought about it 😮
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.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
‎12-09-2010 02:52 AM
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...
‎12-09-2010 08:41 AM
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.
‎12-09-2010 09:20 AM
Yep, I used the CCT function that does exactly that
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus