Piotr Dobrowolski

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • in reply to: ISSUE: UI DIALOGUE USER INTERFASE #18506
    Piotr Dobrowolski
    Participant

    SVG files are not used directly. They have to be converted to bitmap format – howto is put in my tread next to Yours.
    PNG and TIFF files can have the transparent bit, so it can be used in AC UI, while JPG format do not have such feature, so the transparency will not work on it.

    Piotr

    in reply to: Multipage Tiff files handling #4878
    Piotr Dobrowolski
    Participant

    I made the same right click entry for the svg 2 tiff

    it points to a bat file containing:

    “C:\Program Files\GRAPHISOFT\LibDev Toolkit 22 (3013)\Tool\WIN\LP_XMLConverter” convertlibrary -excludesvg %1 %1_tif

    it works on right click on folder and creates a folder (at the same level) with the same name +”_tif” containing the tiffs made out of svgs

    in reply to: Multipage Tiff files handling #4853
    Piotr Dobrowolski
    Participant

    Thanks!
    I searched for that in LP_XML tool manual and could not find…:)

    BTW If searching reliable tool for splitting and merging tiffs then there are few commandline image magick goods for that:

    I added for right click over tiff file(winddows):
    “C:\Program Files\_ImageMagick_folder_\magick.exe” convert “%1” -set filename:f “%%[t]_%%[fx:t+1]” +adjoin “%%[filename:f].tif”

    for joining files put in the folder I made right click option to join tiffs from there into one outside that directory
    (unfortunately I could not figure it out to do without bat file creation)
    so right click goes to: “_path_to_custom_file_\joinTiff.bat” “%1”

    and this bat file contains:
    “C:\Program Files\_ImageMagick_folder_\magick.exe” convert %1\*.tiff %1.tiff

    I needed also this option for pure bitmaps…and making one overscaled jpg does not work if there are elemenets that need to be crisp ;(

    Piotr

    in reply to: Floor Plan and Section UI Page #4833
    Piotr Dobrowolski
    Participant

    I think the macro that collects the all content and then showing it have tricked You..

    if listitem containts “0” in 4th position then it will be a group line (_stout is text dfined previously – in my current scripting manner)
    ui_listitem itemID, iFillListID, "", 0, "", _stOut : itemID = itemID + 1! Group Line
    if it contains 1 in the same position then it will be inside the group
    ui_listitem itemID, iFillListID, "gs_cont_pen", 1, "", _stOut : itemID = itemID + 1

    Piotr

    in reply to: Sectatrs and so on in Skylights? #4755
    Piotr Dobrowolski
    Participant

    oops…the default pen no 19 in gs_fill_pen for skylights template has tricked me…(sorry for late answer…)

    in reply to: Status code: sharp to smooth #4745
    Piotr Dobrowolski
    Participant

    There is a “quick and dirty” way to make the “all in one” surface material on anything…it may slow down the object:
    The trick uses the container as in bolean operations: the last one with the smallest description ;P : CREATEGROUPWITHMATERIAL

    Piotr

    in reply to: The Perfect Zone Label #4259
    Piotr Dobrowolski
    Participant

    Check the INT zone labels – they have the properties ability inside (AFIR)

    in reply to: Trying to understand autoscripted groups #4247
    Piotr Dobrowolski
    Participant

    If You know what is modelled (know IDs and so on) and just borrow the code: You can safely remove the group commands and all initial coordinates translations (+ del’s accoordingly)

    Piotr

    in reply to: Performance issue with Custom Labels #4246
    Piotr Dobrowolski
    Participant

    This became way better since AC 20 (AFIR) (I had some project that was very slow because of many associative labels in 19…while I opened it by accident in newer version it worked better)
    To check just open the project for testing even without library migration in 22 – maybe that would be the argument for migrating up at least the latest projects.
    (I know the drawbacks in GDL, but there are also good points there)

    Piotr

    in reply to: AC22 new Label fixed parameters #4245
    Piotr Dobrowolski
    Participant

    Check the state of LABEL_HAS_POINTER fixed parameter. (look for this condition in the standard labels…so to not move the label from inserton point if no pointer as well)

    Piotr

    in reply to: Sense the change of object ID #4196
    Piotr Dobrowolski
    Participant

    OK I will answer myself.
    Looks like it is wired: if GLOB_MODPAR_NAME=GLOB_ID” just worked…
    So in the “previous” (first) run there must be temp parameter prepared say: TEMP_IDX where the previous state of ID is stored (can be of course empty for the start)
    then:
    if (GLOB_ID#TEMP_IDX) then
    will mimic the missing parameters change check.

    Piotr

    Piotr Dobrowolski
    Participant

    The trick with MASTER_GDL I know very well…I just wanted to make a fill inside one object and use it in it only ;(
    not messing around with the attributes in the project….

    Seems the fill defined inline works only for 2d script – even if defined in master or 3d script – the negative values of indexes are “invisible” for SECT_FILL and so on….;(

    Piotr

    Piotr Dobrowolski
    Participant

    I cannot see the inline fill defined in the masterscript in the fill type parameter normally…should I do some values restritcion to the parameter and set it to: values "fill_parameter" RANGE (,0)?

    Piotr

Viewing 13 posts - 1 through 13 (of 13 total)