CREATE A DRAWING FROM A FILE?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-11
01:57 AM
- last edited on
2022-09-29
10:01 AM
by
Daniel Kassai
2019-11-11
01:57 AM
This seems to be a developer question, so I moved this post to that part of the forum.
Barry.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Labels:
- Labels:
-
Add-On (C++)
3 REPLIES 3
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-11 10:07 AM
2019-11-11
10:07 AM
Devabhai wrote:I also want to relink a drawing but there is only a get function by what I’m seeing..
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.

It’s the same for updating drawings - I can only check the status but not to update..
That’s very limiting..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-12-02 02:23 PM
2019-12-02
02:23 PM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-01 05:20 PM
2020-04-01
05:20 PM
Akos wrote:I want to do it for pdf and image types..
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
Will the set function be available in the future?