Reply To: Getting the size of a loaded picture

#18570
Nader Belal
Participant

@Péter Baksa

Thank you, but I don’t think that will solve my issue.

I will explain why I have asked for it:
I had to script a special title block, for layouts consistency, data extraction from the model and above all, to prevent users from messing thinks up.

So one of the requirements was that the logo of the designer can be loaded to the title block object, and I have found out:
1. Picture2 & Picture2{2} masking values do not have the same power of Picture.
2. You can’t extract bitmap’s size even when it’s already loaded to the project’s library (for scaling and positioning purposes).

Don’t worry, I have already solved it by another way, (fixing a standard size in pixels and telling users to user the multiple of that size).

Anyway, I have put a request for a Picture2{3} here
https://archicad-talk.graphisoft.com/viewtopic.php?f=6&t=69101&p=307027#p307027

Thank you.