Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Insert Raster Image

24 REPLIES 24
SOLVED
Reply
Message 1 of 25
drdanielfc
4191 Views, 24 Replies

Insert Raster Image

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

24 REPLIES 24
Message 21 of 25
yann.h
in reply to: jeremytammik

Wow there are some good ideas here !

Thanks !

Message 22 of 25
Revitalizer
in reply to: sobon.konrad

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
in reply to: Revitalizer

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
in reply to: jeremytammik

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
in reply to: Revitalizer

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. 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community