Sequential Automated Numbering
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-24 09:25 PM
Barry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-24 10:51 PM
Barry wrote:In this case GLOB_ID function can help you!
I want to add a script to the "Drawing Block Title-NCS" part that will increase the number by one each time I click to place the part. Any ideas? Thanks.
Barry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-24 11:00 PM
Barry Halloran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-25 03:34 AM
Barry wrote:Barry,
I don't see how the glob_id would help here. The lettering/numbering is done by a parameter in the part. I want to be able to select the part and drop it multiple times and at the same time the part increases the number by one. Thanks.
Barry Halloran
Actually Z.Bauer was pointing you in the right direction. If your part displays its number by reading it from the glob_id (global variable) and if you have archicad set to auto increase id numbers by 1, then you can do exactly what you need.
Dan K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-25 04:47 AM
Thanks for the reply. I understand what Z.Bauer was saying but the part recives it's ID from a different parameter than the glob_id. What command do I use to create the auto increase? Thanks.
Barry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-25 08:45 AM
But there are ways. Objects can't communicate between their instances, either. One working way would be "TEXT I/O"-Addon. Every object writes in a file its internal (!) (not GLOB_-) ID, beside your counting-number, which is unique for itself. The number to display will be increased after the last found in the file and will be saved into the file or will be read out of the file, if it's yet stored inside. But you have to move the datafile along with your PLN. In AC9 there's a statement you can add to an object, which declares files as part of the plan. In case of archiving these are added to the PLA. This is essential to keep the numbers 'alive'.
Someone here did a communication between placed objects by using GLOB_USER_xx, but I don't see a way to do it here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-25 02:13 PM
Barry wrote:Barry,
Dan,
Thanks for the reply. I understand what Z.Bauer was saying but the part recives it's ID from a different parameter than the glob_id. What command do I use to create the auto increase? Thanks.
Barry
In your Preferences/Miscellaneous... make sure you have the "Auto ID Increase" box checked. In the Drawing Block Title-NCS object make sure the "Set Drawing ID in Info Box" is set to "ON"...go to the Listing and Labeling fly out and set the "ID:" to whatever number you wish to start with (you can even set this ID to a number and a letter if you wish). Now as you place the object, the ID will increase by one each time you place it.
HTH,
Dan K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-26 12:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-26 12:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-08-26 12:50 AM