License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2020-10-12
11:16 AM
- last edited on
2021-09-15
09:41 AM
by
Noemi Balogh
ADD2 0,-AF5_A gosub "symbole 2D" end "symbole 2D": call "AF1", PARAMETERS A = 0.187450297757, B = 0.176699818365, ZZYZX = 1, AC_show2DHotspotsIn3D = 1, ac_bottomlevel = 1, ac_toplevel = 0, use_stored_environment = 0, lineTypeAttribute_1 = lineTypeAttribute_1, penAttribute_1 = penAttribute_5, penAttribute_2 = penAttribute_6, penAttribute_3 = penAttribute_7 del 2 pen penAttribute_6 hotspot2 -1.027559348263E-16, 0.04500000948274 hotspot2 -1.192886700985E-16, -0.04500000948182 hotspot2 -1.110223024625E-16, 1.110223024625E-16 hotspot2 -0.012, 1.37906053464E-9
2020-10-12 12:14 PM
! Top X hotspot2 0, pointDistY, unID, pointDistX, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 -1, pointDistY, unID, pointDistX, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistX, 2 !MOVING unID = unID + 1 ! Top Y hotspot2 pointDistX, 0, unID, pointDistY, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 pointDistX, -1, unID, pointDistY, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistY, 2 !MOVING unID = unID + 1
2020-10-13 09:05 AM
! ! Nom : AF6.gsm ! Date : mardi, 13 octobre 2020, sem42 ! Version : 23.00 ! Ecrit par ARCHICAD ! mul2 A/0.187450, B/0.176700 add2 0.05098826905808, 0.2189775023075 drawindex 10 pen penAttribute_1 hotspot2 -0.0007097591905634, -0.09255619380979 pen penAttribute_2 set line_type lineTypeAttribute_1 poly2_b{5} 7, 1, 0, 3, 1, 0, 0, 0, 1, 0, 0, 1, 0, -0.0007097591905705, -0.1428347036773, 1, -0.0007097591905634, -0.09255619380979, 900, 0, -180, 4001, -0.0007097591905563, -0.04227768394227, 1, -0.0007097591905634, -0.09255619380979, 900, 0, -180, 4001, -0.0007097591905705, -0.1428347036773, 1 poly2_b{5} 3, 1, 0, 3, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0.1364620286997, -0.1853160783561, 1, 0.08905403801306, -0.2189775023075, 1, 0.02734142743587, -0.1320628527151, 1 unID = 1 hotspot2 0, 0, unID, A, 1+256 !BASE (editable) unID = unID + 1 hotspot2 -1, 0, unID, A, 3 !REFERENCE unID = unID + 1 hotspot2 A, 0, unID, A, 2 !MOVING unID = unID + 1 ! Top X hotspot2 0, pointDistY, unID, pointDistX, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 -1, pointDistY, unID, pointDistX, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistX, 2 !MOVING unID = unID + 1 ! Top Y hotspot2 pointDistX, 0, unID, pointDistY, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 pointDistX, -1, unID, pointDistY, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistY, 2 !MOVING unID = unID + 1
2020-10-13 09:16 AM
! Top X hotspot2 0, pointDistY, unID, pointDistX, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 -1, pointDistY, unID, pointDistX, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistX, 2 !MOVING unID = unID + 1 ! Top Y hotspot2 pointDistX, 0, unID, pointDistY, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 pointDistX, -1, unID, pointDistY, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistY, 2 !MOVING unID = unID + 1 ADD2 0+pointDistX,-AF5_A+pointDistY gosub "symbole 2D"
2020-10-14 01:04 PM
ADD2 0+pointDistX,-AF5_A+pointDistYI would appreciate if you could take a look at the new script. I am not sure if it's clear that first I created the 2D object and then selected it plus the form to create the final (parent) object.
! ! Nom : AF 9.gsm ! Date : mercredi, 14 octobre 2020, sem42 ! Version : 23.00 ! Ecrit par ARCHICAD ! mul2 A/0.232874, B/0.187450 add2 -0.6585512900043, 0.975161330242 drawindex 10 pen penAttribute_1 set line_type lineTypeAttribute_1 add2 5.60870331016, 11.36672783119 rot2 90 call "objet 2d partiel", PARAMETERS A = 0.1874502977578, B = 0.1766998183652, ZZYZX = 1, AC_show2DHotspotsIn3D = 1, ac_bottomlevel = 1, ac_toplevel = 0, use_stored_environment = 0, lineTypeAttribute_1 = lineTypeAttribute_2, penAttribute_1 = penAttribute_2, penAttribute_2 = penAttribute_3 del 2 add2 0.6685512900043, -0.9683215099236 rot2 90 unID = 1 hotspot2 0, 0, unID, A, 1+256 !BASE (editable) unID = unID + 1 hotspot2 -1, 0, unID, A, 3 !REFERENCE unID = unID + 1 hotspot2 A, 0, unID, A, 2 !MOVING unID = unID + 1 ! Top X hotspot2 0, pointDistY, unID, pointDistX, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 -1, pointDistY, unID, pointDistX, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistX, 2 !MOVING unID = unID + 1 ! Top Y hotspot2 pointDistX, 0, unID, pointDistY, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 pointDistX, -1, unID, pointDistY, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistY, 2 !MOVING unID = unID + 1 ADD2 0+pointDistX,-AF5_A+pointDistY call "objet 3d partiel", PARAMETERS A = 0.09000019122113, B = 0.01000000000001, ZZYZX = 0.09000001896616, AC_show2DHotspotsIn3D = 1, ac_bottomlevel = 1, ac_toplevel = 0, use_stored_environment = 0, fillAttribute_1 = fillAttribute_1, lineTypeAttribute_1 = lineTypeAttribute_2, materialAttribute_1 = materialAttribute_1, penAttribute_1 = penAttribute_4, penAttribute_2 = penAttribute_5, penAttribute_3 = penAttribute_6, penAttribute_4 = penAttribute_3, buildingMatAttribute_1 = buildingMatAttribute_1 del 2
2020-10-15 03:08 AM
afaria wrote:
First, could you please tell me how to add the script line number ? I don't see the line numbers so I have to count sometimes...
2020-10-15 03:27 AM
afaria wrote:
Also there is this reference to one old objet AF5 on this line and I am not sure if I should replace it with the name of the parent objet or the 2D objet....
ADD2 0+pointDistX,-AF5_A+pointDistY
CALL 3D_object ! Top X hotspot2 0, pointDistY, unID, pointDistX, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 -1, pointDistY, unID, pointDistX, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistX, 2 !MOVING unID = unID + 1 ! Top Y hotspot2 pointDistX, 0, unID, pointDistY, 1+128 !BASE (hidden) unID = unID + 1 hotspot2 pointDistX, -1, unID, pointDistY, 3 !REFERENCE unID = unID + 1 hotspot2 pointDistX, pointDistY, unID, pointDistY, 2 !MOVING unID = unID + 1 ADD2 0+pointDistX,pointDistY CALL 2D_object DEL 1
2020-10-15 04:36 PM
2020-10-16 03:12 AM
afaria wrote:
Things I will try to do later: texts should be always readable (if the final object is turned) and adjust to scale
afaria wrote:
Also, as of yesterday I had only two objects: one parent and one linked. I understood from you last answer that indeed I should have 3: one parent and two linked.
2020-10-16 09:07 AM