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

CREATE A DRAWING FROM A FILE?

Barry Kelly
Moderator
This seems to be a developer question, so I moved this post to that part of the forum.

Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10
3 REPLIES 3

Anonymous
Not applicable
Devabhai wrote:
Hello everyone,,
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.
I also want to relink a drawing but there is only a get function by what I’m seeing..
It’s the same for updating drawings - I can only check the status but not to update..

That’s very limiting..

Akos Somorjai
Graphisoft
Graphisoft
Hi,

You are right, this is missing from the API. The original goal was to enable placing internal views, and those external files where you yourself write the converter (see ACAPI_Database (APIDb_StartDrawingDataID).

The solution depends on what the format of the external file is; what formats are you aiming for?

Best, Akos

Anonymous
Not applicable
Akos wrote:
Hi,

You are right, this is missing from the API. The original goal was to enable placing internal views, and those external files where you yourself write the converter (see ACAPI_Database (APIDb_StartDrawingDataID).

The solution depends on what the format of the external file is; what formats are you aiming for?

Best, Akos
I want to do it for pdf and image types..

Will the set function be available in the future?

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!