Dmitry Rogozhin

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Accessories addon #2687

    Dmitry Rogozhin
    Participant

    Accessories is great solution. Using the API is very complicated, there is no support for scripting languages (Python, for example) – in this case Accessories only way to write the object to the reinforcement of the walls and ceilings.

  • in reply to: ID of layout #2685

    Dmitry Rogozhin
    Participant

    `n = REQUEST (“HomeDB_info”, “”, homeDBIntId, homeDBUserId, homeDBName, homeContext)
    n1= SPLIT (homeDBUserId, “%n”, num)
    n2 = SPLIT (GLOB_LAYER, “%n”, num1)
    if num1 = 0 then
    part1=”Prefix layout”
    part2=”.postfix”
    lenp1 = STRLEN(part1)
    lenp2 = STRLEN(part2)
    n = STRSUB(GLOB_LAYER,lenp1+2,STRLEN(GLOB_LAYER)-lenp1-lenp2-1)
    n2 = SPLIT (n, “%n”, num1)
    endif

    I used this code to solve this problem. An example of an object can be viewed here
    https://yadi.sk/d/RmNZDFD7ubPPv

  • in reply to: Numbered objects with an identifier number. #2686

    Dmitry Rogozhin
    Participant

    You can use COMPONENT to write data from all object with some key in out string (by type, for example) and parse this data from another object.

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