Hotspot for boolean editing

Home Forums General discussions Hotspot for boolean editing

This topic contains 2 replies, has 2 voices, and was last updated by  David Shorter 3 months, 3 weeks ago.

  • Author
    Posts
  • #4620

    Landry Starling
    Participant

    Sorry if this has been asked but I am trying to get a hotspot to allow me to control a boolean call. Right now it is a boolean to just allow something to turn on or off but eventually I would like to be able to choose from a value, drop-down. I guess is this even possible? And if so can you direct me to where to look to do that. Thank you.

    Landry Starling

  • #4621

    David Shorter
    Participant

    I don’t know if this helps but here goes….
    ! Name : silly.gsm
    ! Date : Saturday, 23 February 2019
    ! Version : 22.00
    ! Written by ARCHICAD

    values “zPos” 0,0.2,0.4,0.6,0.8,1,1.2,1.4,1.6,1.8

    if zPos =0 then penAttribute_1= 15
    if zPos =0 then text2 .5,zPos,”t1″
    if zPos =.2 then penAttribute_1= 16
    if zPos =0.2 then text2 .5,zPos,”t2″
    if zPos =.4 then penAttribute_1= 17
    if zPos =0.4 then text2 .5,zPos,”t3″
    if zPos =.6 then penAttribute_1= 18
    if zPos =0.6 then text2 .5,zPos,”t4″
    if zPos =.8 then penAttribute_1= 19
    if zPos =0.8 then text2 .5,zPos,”t5″
    if zPos =1 then penAttribute_1= 20
    if zPos =1 then text2 .5,zPos,”t6″

    unID=2000

    HOTSPOT2 .5, 0, unID, zPos, 1:unID=unID+1
    HOTSPOT2 .5,-0.1, unID, zPos, 3:unID=unID+1
    HOTSPOT2 .5, zPos, unID,zPos, 2 :unID=unID+1

    mul2 A/0.467201, B/0.467201
    add2 0.233600530869, 0.233600530869
    set line_type lineTypeAttribute_1
    pen penAttribute_1
    fill fillAttribute_1
    poly2_b{5} 5, 3, 1, 3, penAttribute_1, penAttribute_2,
    0, 0, 1, 0, 0, 1, 0,
    -0.233600530869, 2.860781424079E-17, 33,
    0, 1.430390712039E-17, 900,
    0, 180, 4033,
    0, 1.430390712039E-17, 900,
    0, 180, 4033

    Attachments:
    1. dsMovie-1.mov
  • #4623

    David Shorter
    Participant

    zPos is the moveable hotspot parameter

You must be logged in to reply to this topic.