2023-07-20 09:03 PM - last edited on 2024-09-17 01:47 PM by Doreena Deng
I am trying to create a single company specific Drawing Title that meets all of our wants, and have run into a bit of a wall.
with the drawing tool, Archicad allows you to adjust the Drawing ID to be "by layout", "By View ID" & By Custom.
this appears to be using the autotext "Drawing ID"
while trying to create a this drawing title I am struggling to figure out how to differentiate the auto text so that I can have the bubble text read the specific layout while also having smaller grayscale text after the "wall section" drawing name that shows the drawing ID.
I guess I am trying to figure out how or where the view ID+Name script pulls the ID, that differentiates itself from the By Layout/By View ID/Custom toggle.
Ultimately, this is what I am trying to have the Drawing Title look like, but havent be able to get the "A5" & "WS-01" to act independently from each other
2023-07-21 01:36 AM - edited 2023-07-21 01:37 AM
you will need to change the code:
this is where it can get the layout name/layout ID
REQUEST ("HomeDB_info", "", homeDBIntId, homeDBUserId, homeDBName, homeContext)
Returns in the given variables the internal ID (integer), the user ID and name (strings) of the home database (where the library part containing
this request was placed).
• if placed on a layout: the layout internal ID, number and name, homeContext = 5.
For labels the returned data refers to the labeled element. The collected data can be used
i.e.
n = request ("HomeDB_info", "", layout_unique_ID, AC_LayoutNumber, AC_LayoutName, layout_home_context)
then you can use the fields
AC_LayoutNumber
AC_LayoutName
the "AC_DrawingName" is the drawing name, this needs to be a parameter in the parameters list to work, it auto populates.
the AC_DrawingNumber" is the drawing number, this needs to be a parameter in the parameters list to work, it auto populates.
2023-07-21 03:30 AM
Given this is in the Documentation sub and the provided labels, I am assuming this is an in-the-box drawing title? If so, please provide information regarding your localisation as library parts may vary.
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |