Barry Kelly

Forum Replies Created

Viewing 15 posts - 151 through 165 (of 170 total)
  • Author
    Posts
  • in reply to: Uploading to BIM Components #2239
    Barry Kelly
    Participant

    There is no “Download” button as such but there is the ‘drag & drop’ arrow that works.
    Thing is the object is imported with no name – i.e. it is called “.gsm”.
    So it doesn’t show up as a window object.
    It can be opened and renamed though and then can be used as a window object.

    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: GLOB_​ changes #2161
    Barry Kelly
    Participant

    I have a similar problem.
    See… https://gdl.graphisoft.com/forums/topic/what-is-the-proper-replacement-for-glob_context1/
    I really wish we still had GLOB_CONTEXT.
    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: Backward migration #2053
    Barry Kelly
    Participant

    OK fresh eyes and mind this morning and it all seems to be working fine.
    16 object is reported missing until I delete the 16 library and replace with the 15 library.
    Then old object is back as good as new.

    Thanks again Gergely.

    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: Backward migration #2050
    Barry Kelly
    Participant

    I am finding if I don’t have the old 15 object loaded when I save back as a 15 file then there is no conversion and the library report just it as a missing version 16 object.
    But it is late now so I will test it out more thoroughly tomorrow.

    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: Rotating editable hotspot #2048
    Barry Kelly
    Participant

    Hopefully this will help.
    I have just cut this from an object I use to set appliance models and cut-out sizes.

    I have left just the parts for a stretchable on/of style hotspot and also a rotating hotspot.

    The rotating hotspot has 4 positions rather than just the 2 you want.
    If just a choice of two settings I use the straight stretchy method.

    You can amend the rotating one to have as many or as few options as you want.
    And obviously change the names of the parameters so they mean something to you.
    I did this in a bit of a rush so haven’t altered the names to anything more generic.

    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: Backward migration #2046
    Barry Kelly
    Participant

    Great thank you Gergely, that worked.
    And the old 15 object needs to be in a loaded library in the 16 file when saving back as 15.

    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: Backward migration #2043
    Barry Kelly
    Participant

    Here are a couple of test objects.
    The original “15 square” object migrates fine to the “16 circle” object.
    But I can’t go the other way.

    Thanks for the help.

    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: Backward migration #2041
    Barry Kelly
    Participant

    Still no luck.
    I have the backward migration in my 16 object.
    I save the 16 file as a version 15.
    Open it in 15 and of course it still loads the 16 library – new object missing from the version 16 library.
    I remove the 16 library and load the 15 library that only has the old object and nothing – version 16 object reports as missing.

    Even if I have both the old and the new object loaded in the 16 library it isn’t converting the new object to the old one.

    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: ID Coordinate dimension #2017
    Barry Kelly
    Participant

    Do you have the ‘New ID’ option turned on in your Work Environment?

    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: master_​gdl – user global variable usage #1923
    Barry Kelly
    Participant

    I replied in Archicad-talk but I think the problem is that you just need to reload the library to activate the Master_GDL 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: What is the proper replacement for GLOB_​CONTEXT=1? #1856
    Barry Kelly
    Participant

    Thanks Ben.
    I’ll have to sit down and give it a shot.

    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: What is the proper replacement for GLOB_​CONTEXT=1? #1854
    Barry Kelly
    Participant

    Yes I was thinking the same thing.
    I have had a look at the manual and it hasn’t sunk in yet how it needs to be scripted.
    Looking at examples in the GS library just confused n=me even more.

    Does anyone have a very simple example of migrating one object to another and setting new parameters based on the values of old object parameters?

    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: What is the proper replacement for GLOB_​CONTEXT=1? #1809
    Barry Kelly
    Participant

    I don’t know that the lpxmlconverter will help me with objects already placed in my plans.
    Yes it will help me convert from one version to another and maybe even add parameters to an object – I really don’t understand what it does.
    But I am sure it will not detect the settings of a parameter that has been placed in a file and then set another parameter based on the settings.

    I have attached a PDF that has images through it to try and explain my problem better.
    Easier than to add individual attachments.

    Please let me know if what I describe can be done with lpxmlconverter.

    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: What is the proper replacement for GLOB_​CONTEXT=1? #1781
    Barry Kelly
    Participant

    Thanks for the reply Gergely but I really didn’t understand it.
    I have never used the lp_xmlconverter.
    It is not a case of updating the actual library part.
    What I am trying to do is trap an actual object instance in a plan.
    If it has a certain parameter then swap that.
    I only want to check it once which is why the flag parameter gets reset.
    If I don’t have the GLOB_CONTEXT <> 1 then the flag will reset in the script editor which I don’t want.
    It needs to be off and only reset when I am not editing the script.

    Not sure if that explains it any clearer.
    Basically I need to trap (or exclude) when I am in the GDL editor.
    How do I do that without GLOB_CONTEXT.

    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: What is the proper replacement for GLOB_​CONTEXT=1? #1769
    Barry Kelly
    Participant

    I use it to check settings in existing objects and modify them to new values then set a ‘flag’ parameter to say it has been done so it does not get checked again.
    I don’t want this to happen in the GDL editor as I need to save the object with the ‘flag’ parameter set to 0 so I filter that with GLOB_CONTEXT <> 1.
    This way it does not reset in the GDL editor but only when the object scripts are run in the model.

    !!set page type for existing objects so they don't default to wrong object
    if GLOB_CONTEXT <> 1 then
    	if flag = 0 then
    		if category = "LIGHTING" then
    			if ind_objects = "MOTION SENSOR" then
    				page_type = "SUPERSEDED"
    			else
    				page_type = "LIGHTING"
    			endif
    		endif
    		if category = "POWER" then
    			page_type = "POWER"
    		endif
    		if category = "DATA & SECURITY" then
    			if ind_objects = "NX4 ALARM PANEL" then
    				page_type = "SUPERSEDED"
    			else
    				page_type = "DATA & SECURITY"
    			endif
    		endif
    		if category = "TELSTRA VELOCITY" then
    			if STRSTR(ind_objects, "TELSTRA VELOCITY") > 0 then
    				page_type = "SUPERSEDED"
    			endif
    		endif
    		PARAMETERS page_type = page_type
    		flag = 1
    		PARAMETERS flag = flag
    	endif
    endif
    
    

    A similar situation was posted here in Archicad Talk … https://archicad-talk.graphisoft.com/viewtopic.php?t=50571

    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

Viewing 15 posts - 151 through 165 (of 170 total)