Barry Kelly

Forum Replies Created

Viewing 15 posts - 91 through 105 (of 170 total)
  • Author
    Posts
  • in reply to: Find number of hinge door leafs. #3546
    Barry Kelly
    Participant

    It looks to me as though you won’t get this information from the objects – not the standard GS doors anyway.
    The single doors always one leaf and the doubles always have 2.
    As it is not a parameter you can set in the object you won’t be able to get that information out from the object.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: The first steps to GDL study #3527
    Barry Kelly
    Participant

    Most people seem happy to start with the GDL Cookbook 3 by David Nicholson-Cole.

    https://www.nottingham.ac.uk/~lazwww/cookbook/CB_download/cookbook3download.html

    It is a bit old now but still relevant.

    There is also “Introduction to Object Making with ArchiCAD: GDL for Beginners” by the same author (again a little old but still good).

    https://support.graphisoftus.com/files/GSNA/Books/Object_Making.pdf

    Both of these are free resources.

    There is also a GDL Handbook from CADimage by Andrew Watson if that is still available – but that will cost you if it is.

    https://www.cadimage.com/Other-Products/gdl-handbook

    There is of course also the GDL Centre where you are now for this forum – follow the links at the top of this page.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: How do I declare string that consist of quotation marks #3503
    Barry Kelly
    Participant

    I don’t think it matters which quotation symbol you use but the main quote symbols must be different to the internal symbols.
    so you could have …

    “This is ‘my’ string”

    or

    ‘This is “my” string’

    Depending on which symbol you want to see in your final string.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Incorrect "NEW" tag #3496
    Barry Kelly
    Participant

    It’s back again!
    This time showing on ‘General Discussions’.
    Do others see it or is it just me?

    Barry.

    Attachments:

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: append current value to the list with ui_​button #3495
    Barry Kelly
    Participant

    I think GLOB_MODPAR_NAME might only work in the Master or Parameter scripts, not the UI script.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Forward Migration #3490
    Barry Kelly
    Participant

    As I look closer I also see your new ID has brackets in the middle – }-{
    I didn’t notice the length of the ID (yes it is too long) but I think it is the last part that is the object ID.
    Isn’t the first part the subtype?

    I always get my IDs from the MIGRATION list.
    Press the ‘NEW’ button and then ‘Browse for Migrated Object’ to get the ID.
    I also browse for the new object ID there but be sure to delete it after you copy and paste it.
    Leave the old object IDs that you want to migrate in that list.

    Barry.

    Attachments:

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Creating library parts – when there is no preview #3488
    Barry Kelly
    Participant

    I see, if you open a stair you get all the scripts for the various parts.
    But the 2D/3D previews for them don’t work.
    I wonder if that is because they don’t have any size parameters being passed on from the master stair.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Creating library parts – when there is no preview #3486
    Barry Kelly
    Participant

    Hey Ben,
    I just saved a slab as a ‘stair tread component’ and can see the 3D preview with no problems.
    As I amend the script the preview changes.
    There was no 2D preview as it didn’t generate a 2D script.
    Do you have the correct subtype (“tread component”) selected?

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Forward Migration #3484
    Barry Kelly
    Participant

    As far as I can see that should work – that is basically the script I use.
    But as mentioned in Archicad-talk …

    However make sure you have the old GUID in the ‘Migration’ list – that is a different button to the ‘Forward Migration’ script. Do not have the new GUID in that list.

    Also make sure you do not have the old object in you loaded libraries. If you do the swap will not happen.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: HOTSPOTs and Associative Dimensions #3459
    Barry Kelly
    Participant

    Are you sure?
    I dimension to standard hotspots (3d hotspots in sections and elevations) in my objects all the time.
    Have never had any problems with them being associative.

    However you do need to (or I think it is best to) have unique IDs (that don’t change – i.e. don’t use UNID = UNID+1 between hotspots) for each hotspot.
    If you don’t have IDs you can still associate dimensions (I think) but they associate to the auto ID so dimensions can disappear or associate to another point if a hotspot isn’t used in a script (i.e. inside an IF / THEN routine) – thus changing the auto-ID numbering.
    This is why it is best to hard code the ID for each hotpot.
    This however becomes a problem when you CALL macros or use GOSUBS that also have hotspots as you need to increase their ID numbers to keep them unique.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Unique Parameter button #3403
    Barry Kelly
    Participant

    It seems it only blocks the transfer when you transfer to a new object in the object settings (it is the new object that must have the unique parameter exclusion set so as not to accept that parameter).
    It has no effect when transferring between existing objects.
    I am not sure this was always the case but I may be mistaken as I rarely use it.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Hidding contours on double curved edges #3333
    Barry Kelly
    Participant

    With ELBOW you can’t control the end contours (same with CYLIND).
    With TUBE you can and for the curve I have used REVOLVE where you can also control the start and end contours and surfaces with the mask values.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Hidding contours on double curved edges #3332
    Barry Kelly
    Participant

    H_PRISM is the same as F_PRISM but has an extra status code to control visibility of hill edges.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Hiding vertical lines in holes in Prisms #3284
    Barry Kelly
    Participant

    Barry:

    Look at the other side of the Prism.

    David

    Ahh I see.
    Sorry I was looking for the lines in the hole.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

    in reply to: Hiding vertical lines in holes in Prisms #3275
    Barry Kelly
    Participant

    Is it just a MAC thing?
    I see no difference for either script.

    Barry.

    Attachments:

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

Viewing 15 posts - 91 through 105 (of 170 total)