Insert Raster Image

Insert Raster Image

Anonymous
Not applicable
6,314 Views
24 Replies
Message 1 of 25

Insert Raster Image

Anonymous
Not applicable

How could I insert a Raster Image using the Revit API? In other words, the equivalent of doing Insert>Image

0 Likes
Accepted solutions (1)
6,315 Views
24 Replies
Replies (24)
Message 21 of 25

Anonymous
Not applicable

Wow there are some good ideas here !

Thanks !

0 Likes
Message 22 of 25

Revitalizer
Advisor
Advisor

Hi Konrad,

 

several years ago, I stored multiple images as a base64 coded string in a text parameter (Extensible storage was not available yet at that time).

An approach similar to the one drdanielfc suggests.

 

One thought:

Just take in account that storing data inside the project file may inflate it.

 

 

Revitalizer

 

 




Rudolf Honke
Software Developer
Mensch und Maschine





Message 23 of 25

jeremytammik
Autodesk
Autodesk

I now migrated EstoreFile from Revit 2014 to Revit 2015:

 

https://github.com/jeremytammik/EstoreFile/releases/tag/2015.0.0.1

 

I then migrated it from Revit 2015 to Revit 2016:

 

https://github.com/jeremytammik/EstoreFile/releases/tag/2016.0.0.0

 

I hope you find this useful.

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 24 of 25

jeremytammik
Autodesk
Autodesk

Published on The Building Coder as well now:

 

http://thebuildingcoder.typepad.com/blog/2016/02/estorefile-group-preview-and-roomschedulecloud.html

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 25 of 25

sobon.konrad
Advocate
Advocate

Revitalizer, 

 

Of course, you are right, file size is always a concern. I would only say that sheer file size is usually not a big deal and not always an issue with "performance". I am usually concerned about other things when encountering poor performance. On the other hand I would not recommend storing everything inside the model "just because we can", so I just trust that OP realizes the pros and cons of using Extensible Storage.