The Global Archicad Community

Stay informed. Get help. Share your knowledge.

GDL language and objects, API, Add-ons, Script…

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, Gordana Radonic, nbalogh, mnguyen, gkmethy

What's your opinion about this wish?

Essential (5)
7
47%
Important (4)
5
33%
Average (3)
1
7%
Not important (2)
1
7%
Not needed (1)
1
7%
User avatar
By Sergio
#12867
Since doors are not always inserted in the most logical order for numbering, I'm thinking that it would be nice to have an option whereby when you get close to the end of the CD creation process, you could just select the doors (and windows) in a certain order and have the numbers change to reflect the new order.

With all the other outstanding issues, I realize this would be like icing on the cake, but I think it would help. Could also work with zones, and anything else where a more logical numbering order can be arrived at only later on in the CD creation process.
#30857
This should be doable with API. Useful feature, too. What would it take, two days work for a programmer who's familiar with ArchiCAD API?
Or what it is worth for me, two days worth of unnessesary manual editing work saved in two years timeperiod.
#30875
Sergio wrote:Since doors are not always inserted in the most logical order for numbering, I'm thinking that it would be nice to have an option whereby when you get close to the end of the CD creation process, you could just select the doors (and windows) in a certain order and have the numbers change to reflect the new order.
You can do that now... After selecting doors/windows in the order in which you would like them numbered, just go to Calculate/Element ID Manager, set it to a Unique ID for Each Element; click Change ID's...

Works great! Take a look at the ID Format tab as well. You have lots of control over what the IDs look like and at what number/letter they begin.
#30878
Just would like to add one thing here. The trick above works with Zones also. The problem is that what you want to change is the Room Number, not the Zone ID. So here's a trick...

Select the Zones in the order in which you would like the rooms numbered. Go to the Element ID Manager as described above. Go to the Interactive Schedule (Calculate/Interactive/Preview...). Once there, click Edit Settings.

If there is no Zone list under Schedule Settings, Duplicate any schedule and on the General Tab set the Element Type criteria to = Zone. For parameters to list you may put any you want but put ID (General category) and Room Number (Zone category).

Now when you click OK you will see both the ID (in the renumbered order) next to the Room number. Change the Room Number to = the ID number; click Apply Changes and all the Room numbers will be as you would like them.

Cheers,

Woody
#30897
Woodster,

I am having difficulty in getting this to work. Probably not holding my mouth right. I am shift clicking the doors in the order that I would like them to be ID'd, then to "Element ID Manager" where I have element type set to Doors and "Unique ID for Each Element" radio button selected. When I hit "Change ID's",I get an "Element ID List" dialog box which doesn't tell me much, I click OK and the door ID's do change but not in the order that I selected them. I can't see any pattern in how they do change. Any ideas on what I'm not doing?
#30898
Ted,

This is what the Element ID Manager should look like when you click Change ID's. I just tried it about 10 times and it worked every time. Try it again after looking at this screen shot and let me know what happens.

Woody
Attachments
Element ID.jpg
Element ID.jpg (30.6 KiB) Viewed 2958 times
#30899
Only other thing I could think of would be if you were selecting one door and going into the EIDM or using a fence to select them. But if you select the doors in the order in which you want them numbered, and open the EIDM with them selected, have the EIDM set as shown above, and click Change ID's, it should work. Works for me every time.

Works great too if you like to give doors with like properties the same ID.

Woody
#30900
Works fine if it looks like this as well.

Woody
Attachments
EIDM.jpg
EIDM.jpg (38.31 KiB) Viewed 2915 times
#30906
After giving up on this feature a while back i have given it some more investigation is does seem to work if you dont have element ID selected (as per Woodster's first screen shot).

Using the more logical option in the second screen shot it doesnt work
#30909
Aussie John wrote:After giving up on this feature a while back i have given it some more investigation is does seem to work if you dont have element ID selected (as per Woodster's first screen shot).

Using the more logical option in the second screen shot it doesnt work
I tried both ways out and they both seemed to work fine for me...not sure why yours didn't work

Dan K