cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Create a Drawing from a file?

Erenford
Booster
How do you link a drawing to an external file? On ArchiCAD you just click on "an external source" -> click "Browse" -> choose the file. How do you do this with the API?

What are the requirements? Creating a drawing from a view is simply by copying the view's guid to drawing.drawingGuid and you're done, is it the same with a file? I've looked into API_DrawingLinkInfo but it seems there is only a "Get" function and no "Set".

Thanks.
Archicad 25 5010 INT FULL
Visual Studio Professional 2019
Win 10 Pro 64-bit
Intel Core i7-4790 CPU @ 3.60GHz
1 REPLY 1

Hoa Tu
Newcomer
Erenford wrote:
How do you link a drawing to an external file? On ArchiCAD you just click on "an external source" -> click "Browse" -> choose the file. How do you do this with the API?

What are the requirements? Creating a drawing from a view is simply by copying the view's guid to drawing.drawingGuid and you're done, is it the same with a file? I've looked into API_DrawingLinkInfo but it seems there is only a "Get" function and no "Set".

Thanks.
Hi All,

I am also interested to know if there is anyway to set/relink an external file of a drawing using API.
I am using ArchiCAD 21.

Thanks,
Hoa

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!