Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66789

Re: How to add Image to Image parameter into Identity Data?

$
0
0

You are right, you should get your parameter by BuiltInParameter.ALL_MODEL_TYPE_IMAGE, that is correct (from your code).

 

But the next part won't work. You should do something like:

var imageType = ImageType.Create(doc, pathToImage);

parameter.Set(imageType.Id); 

Viewing all articles
Browse latest Browse all 66789

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>