Barry Kelly

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 131 total)
  • Author
    Posts
  • in reply to: Issue with label and surface override #4598

    Barry Kelly
    Participant

    Hi Peter
    If you look at the upper part of the attachment the name “A001:Brickwork Face” appears but this is the override surface not the surface of the Building Material. The building material surface is correctly reported in the label text.

    That is correct.
    The greyed out text is what the surface would be if the override was turned on.
    When the override is not turned on, it doesn’t show the actual building material surface – which maybe it should?
    Is that the problem here?
    The label should always be correct.

    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: Opening oversize no longer instantly updating #4596

    Barry Kelly
    Participant

    Thanks Péter,
    Drawing the end lines works but you don’t have the same control when the automatic wall hole is used.
    Yes I can check ‘AC_WallContours’ and draw the lines or not.
    But when I have 2 opening butting up next to each other, one with an opening extension because of a connecting column between the windows, and I need the side lines, there is a problem.
    Drawing them manually they are either on or off – on in this case because I need the side lines.
    With the automatic hole there is no joining line even when the side lines are on.

    Yes, I could script and control each side line separately, but I really don’t want to.

    Hoping this fix will find it’s way into an update soon.

    Thanks again.

    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: Opening oversize no longer instantly updating #4587

    Barry Kelly
    Participant

    Thank you.

    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: DESCTIVATING A CUTPLANE FROM 2D SCRIPT or similar method #4549

    Barry Kelly
    Participant

    If you can get the correct views with the cutting planes in the PROJECT2 command then in the 2D script you use it twice.

    PROJECT2 - top view with desired cutting planes
    if show_elevation = 1 then
        ADD2 x,y
        PROJECT2 - side view with desired cutting planes
        DEL 1
    endif

    If you need to use an actual CUTPLANE in the 3D script to get the projection you want then use the if/then command to control the CUTPLANE and CUTEND as I mensiomed before (but you won’t need the GLOB_VIEW_TYPE = 2).
    The thing is you will need to turn off the CUTPLANE for one of the passes.
    Again this may not be the best scripting but I would do this.

    show_elevation_orig = show_elevation
    show_elevation = 0   !!!!temporarily turn of show in elevation mode
    PROJECT2 - top view with or without built in cutting planes
    show_elevation = show_elevation_orig   !!!!set elevation mode back to original
    
    if show_elevation = 1 then
        ADD2 x,y
        PROJECT2 - side view with or without built in cutting planes
        DEL 1
    endif

    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: DESCTIVATING A CUTPLANE FROM 2D SCRIPT or similar method #4533

    Barry Kelly
    Participant

    So I need this, either:
    a) A condition that can deactivates the CUTPLANE in the “3D script” when the user asks for an elevation view on Plan.

    I assume the showing of the elevation in plan view is a parameter option.
    I would then do this.

    if elevation_in_plan = 1 and GLOB_VIEW_TYPE = 2 then				!Plan view
    !!!!do nothing
    else
          CUTPLANE 0, cutplane_height
    endif
    
    ... 3D model script ...
    
    if elevation_in_plan = 1 and GLOB_VIEW_TYPE = 2 then				!Plan view
    !!!!do nothing
    else
          CUTEND
    endif

    I am sure it could be scripted differently.

    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: Gradient fill #4514

    Barry Kelly
    Participant

    Thanks Peter.
    I don’t think a rotational and moveable hotspot can be linked which is why I was asking.
    I will give your hidden calculations a go – I think that might be the only way.

    Usually with something like this I would have one hotspot for the origin x & y, another for the length and a rotation one at half the length.

    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: Gradient fill #4512

    Barry Kelly
    Participant

    A few questions just for my understanding if I may.

    1.) So there is no need to DEFINE the fill if you already have the gradient fill as an attribute?
    Just SET FILL “Linear Gradient Fill”.

    After all you are not really defining a pattern for the fill.
    Every gradient fill you define is exactly the same as the others, just with a different name (and attribute number).
    It is all about using the correct options in the POLY2_B[3] command and setting the required pen colours.

    2.) Why can we not see the gradient and radial fills when a fill parameter is created in the parameter list?
    But we can ‘SET FILL’ using those attributes by name in the script.
    It would be nice to be able to choose solid, vectorial, symbolic, image and gradient fills from a parameter.

    3.)Is there a tricky way to set up graphical hotspots to adjust the settings?
    I can create hotspots to move the fill origin.

    unID=1
    	!Stretchy x
    	HOTSPOT2 0, OriginY, unID, OriginX, 1+128 : unID=unID+1	!base
    	HOTSPOT2 -1, OriginY, unID, OriginX, 3 : unID=unID+1	!reference
    	HOTSPOT2 OriginX, OriginY, unID, OriginX, 2 : unID=unID+1	!moveable
    	
    	!Stretchy y
    	HOTSPOT2 OriginX, 0, unID, OriginY, 1+128 : unID=unID+1	!base
    	HOTSPOT2 OriginX, -1, unID, OriginY, 3 : unID=unID+1	!reference
    	HOTSPOT2 OriginX, OriginY, unID, OriginY, 2 : unID=unID+1	!moveable

    And I can add a hotspot to rotate the fill.

    	!angle stretchy hotspot
    	HOTSPOT2 OriginX,OriginY,unID,patternAngle,6 : unID=unID+1																						!centre
    	HOTSPOT2 OriginX+(patternSize),OriginY,unID,patternAngle,4+128 : unID=unID+1																	!base
    	HOTSPOT2 OriginX+COS(patternAngle-symb_rotangle)*(patternSize),OriginY+SIN(patternAngle-symb_rotangle)*(patternSize),unID,patternAngle,5 : unID=unID+1	!stretchy hotspot
    

    But I can not make that rotational hotspot also stretch the pattern length.
    If I comment out the above rotation hotspot and add this, I can stretch the pattern length.

    ADD2 OriginX, OriginY
    ROT2 patternAngle
    	!Stretchy gradientlength
    	HOTSPOT2 0, 0, unID, patternSize, 1+128 : unID=unID+1	!base
    	HOTSPOT2 0-1, 0, unID, patternSize, 3 : unID=unID+1	!reference
    	HOTSPOT2 0+patternSize, 0, unID, patternSize, 2 : unID=unID+1	!moveable
    DEL 1
    DEL 1

    I guess what I am asking here, is there a way to combine the rotation hotspot with the pattern length?
    So we can have a stretchy rotation.
    Or will they have to be two separate hotspots?

    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: Look and Feel of REVOLVEs #4496

    Barry Kelly
    Participant

    Is it a case of aligning the material with the COOR command after the REVOLVE?

    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: Get dimension from part of object to schedule #4394

    Barry Kelly
    Participant

    If you don’t have a separate parameter for the height of the lamp itself, then you won’t be able to schedule 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: Individual array values in graphical interface #4363

    Barry Kelly
    Participant

    It’s all OK.
    I have it now.

    UI_INFIELD{2} length[1], 70,20,65,15
    UI_INFIELD{2} length[2], 70,40,65,15

    {2} and no quotes did the trick.
    I am sure I had tried that already but obviously not.
    I was sure it could be done.

    Everyone can relax now – panic over!

    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: preview picture #4358

    Barry Kelly
    Participant

    For objects you just copy and paste what ever image you want into the ‘Preview Picture’ window when you open and edit 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: How to generate 3D model to PRISM of GDL #4313

    Barry Kelly
    Participant

    If you are saving elements as GDL objects, you will have no control over how the script is generated.
    You just have to try to understand it and edit it.

    If you want complete control, then you have to create the scripts yourself.
    Create the elements (prisms, etc.), move and rotate them, create for/next loops, gosub routines, add hotspots etc.

    As to how to create a complex model in GDL, that would be almost impossible to say.
    You will just have to make a start and ask questions as you get stuck.

    To script something like that crane, you would want to have a pretty decent knowledge of GDL, especially if you want to make it parametric (stretchy and moveable).
    It is not something I would want to attempt.

    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: Object position to project origin x and Y #4305

    Barry Kelly
    Participant

    In my experience, SYMB_POS_X & SYMB_POS_Y always measure from the ‘Project’ origin regardless of where the ‘User’ origin is.
    Are you sure you are looking at the ‘Project’ origin?

    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: Door and Window Marker #4281

    Barry Kelly
    Participant

    A single HOTSPOT2 command will place a black hotspot that can be used to select or drag the entire object.
    I won’t drag just a portion of the object.

    To stretch just a portion you must use ‘Graphical’ hotspots.
    These are a series of commands that produce a purple (may depend on you Archicad settings) diamond shaped hotspot that can be dragged in plan (also can be used in 3D).
    You then use an ‘ADD2 x,y’ command before the part of the script you want to drag and a ‘DEL 1’ after it.
    This way you can control just a portion of your object.

    The hotspots will be something like this.

    !Stretchy x
    	HOTSPOT2 0, off_ver, 1, off_hor, 1+128 !base
    	HOTSPOT2 -1, off_ver, 2, off_hor, 3 !reference
    	HOTSPOT2 off_hor, off_ver, 3, off_hor, 2 !moveable
    
    !Stretchy y
    	HOTSPOT2 off_hor, 0, 4, off_ver, 1+128 !base
    	HOTSPOT2 off_hor, -1, 5, off_ver, 3 !reference
    	HOTSPOT2 off_hor, off_ver, 6, off_ver, 2 !moveable
    
    ADD2 off_hor, off_ver
    
    .... object script....
    
    DELL 1

    This create a single hotspot that drags both the horizontal (x) and vertical (y) position at the same time.

    You will find more info on Graphical hotspots in the GDL reference manual.

    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: Door and Window Marker #4276

    Barry Kelly
    Participant

    That is just a simple hotspot.
    It is not a graphical (adjustable) hotspot.

    You need to add the graphical hotspots and then an ADD2 x,y to transform your marker position to match the hotspot 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

Viewing 15 posts - 16 through 30 (of 131 total)