Jump to content

Raph

Member
  • Posts

    62
  • Joined

  • Last visited

Posts posted by Raph

  1. Thank you very much for your responses,

    Although there are no miracle solutions, I am delighted to hear that this is an amusing problem and that the execution order of a Marionette script is unclear.

    In fact, strangely enough, when creating the parametric symbol, the text is placed above it.

    So in the end, I didn't need to create ungrouped groups.

     

    What came to mind when reading your responses is the following:

    Does creating “network envelopes” also affect the execution order of the script?

    I will test this soon.

     

    Thank you again to everyone for your interesting feedback.

  2. 1 hour ago, HebHeb said:

    I always use the list ordered and group > ungroup afterwards - works well for all 2D objects

    image.thumb.png.a8c60290c4467f8d7692840e45ed9b0d.png

    Hello, thank you for your reply.

    Yes, I can try that. I had heard that this was a possible solution. But I was wondering if there had been any developments since then.

    Best regards,

    Raph

  3. 1 hour ago, Marissa Farrell said:

    Can you share your file so I can take a look? 

     

    Marionette networks are difficult when it comes to stacking because the order the traversal up and down the network isn't really straightforward, it often works better when you create a Marionette Object to make sure what you want is on top, but once I have an idea of what you've done, we may be able to work around that if a Marionette Object won't work for you. 

     

    X-Wall_cadreForum.vwx

  4. Hello everyone,

    I am facing a problem that many people have probably already encountered. With the help of Marionette, I draw a rectangle and some text. Unfortunately, the text is placed below the rectangle.

    How can I instruct Marionette to place/create the elements so that they appear in the correct order?

    I tried adding a node after creating the text with the code:
    vs.HMoveForward(h, True)

    But without success.

    Thanks in advance.

    Translated with DeepL.com (free version)

    Capture_12_22_2025_114103.png

  5. Thanks for your answers

    yes of course putting a number is a simple and effective solution!

    I was wondering if there is a solution to do it in a hidden way?

    I remember another parametric symbol where I tried to place a “_” before the name of the parameter entry.

    But it doesn't work!


    Another question ....
    is it possible to make groups?

    In this case, it's a matter of placing symbols on the left or right.

    Would it be possible to make one group for right- and another for left- heights?

     

    Thanke in advance

  6. Hello everyone,


    here's a new question....

     

    I'd like to be able to make groups or, and, above all, sort the options according to my choices. Currently, alphabetical order is preferred... grrr
    how do I sort the item info palette?

    Is there a trick?

     

    Thanks

    Capture_11_06_2024_021947.png

    Capture_11_06_2024_022908.png

  7. Hello everyone,


    I'd like to create a parametric symbol that extrudes a 2D surface.

    It seems relatively simple to me, but there's a left and a right.

    According to one criterion it should be one or the other

    Hello everyone,


    I'd like to create a parametric symbol that extrudes a 2D surface.

    It seems relatively simple to me, but there's a left and a right.

    Depending on a parameter, it should be one or the other.

     

    Thanks


     

    image.png

    profil Connection 90deg 1879_vforum.vwx

  8. 27 minutes ago, Raph said:

    Hello,

     

    thanks for the answer i'll try this option

     

    Raph

     

     

     

    2 hours ago, JBenghiat said:

    You need to use HMove3D() to set the height after inserting the symbol 

    Hello,

     

    so i tried to find the function but without success

    do you have a description of the function? HMove3D

     

    image.png.a3cd9471afc92f6ed234a562f1b172fa.png

  9. 1 hour ago, Ramon PG said:

    You can better during symbol creation raise it to the final AFF level you wish and it will insert accordingly.

    Hello,


    Thanks for the feedback but I'm not sure I understand...

    The symbol exists, I just call it up and place it on the drawing.

    The problem is that I can place it in 2D (X,Y axis) but not on the Z axis

     

     

  10. Hello,


    I'm creating a scrip that calculates and places symbols according to a precise scheme.

    The idea is to draw a frame with symbols that already exist.

    With the function:

    vs.Symbol(symbolName, p, rotationAngle)

    I can place the symbol at 0 on the Z axis

    I'd like to be able to place or translate the symbol, for example, 2 meters away with the opposite side down.


    Any ideas on how to do this?

     

    the parametric symbol is on the left what I'd like to achieve is on the right


    Thanks in advance

    image.thumb.png.29ef3d86c203e4abecdeff52b2d0f209.png

     

    ParamSymbol_Textil_Molto_v1.4.vwx

  11. Hello everyone,

     

    I have a code with the possibility of creating a worksheet.

    It works great! but...
    Each time the code is executed, it generates a new table.

    Would it be possible to make a code that rewrites the existing table?

    I use the following code to create the worksheet:

     

    WSH = vs.CreateWS(vs.Concat(S1,' ',vs.Date(2,0)),N1+3,3)

     

    Thank you for your feedback

  12. Hi Pat,

    Thank you for your answer

    it's always a pleasure to see that there are people interested to help find solutions.


    I tried to make the code with the second option "Push and Pop"

    But the result is not what I expected.

    Once the reading passed through these lines the color changes for all the rest of the code

    The beginning is in blue then it is black whereas I would like red

    See printscreen

     

    Thanks in advance

     

    Capture_03_03_2023_082204.thumb.png.1f213c34e94de748cd58fb855df5adba.png

     

    # Write a list of pannels
    p = (FX2 + 1000, FY2-SpaceLine)
    vs.MoveTo(p)
    txt = vs.Concat('Panneau n°', str(NP), ': ', vs.Num2Str(0,(CurrentX+W1)-CurrentX),'x', vs.Num2Str(0,min(CurrentY + H1, FY2)-CurrentY),'mm')
    vs.PushAttrs
    vs.PenFore(255, 0, 0)
    vs.CreateText(txt)
    vs.PopAttrs

     

  13. Hi veryone,

     

    I tested and here is a video where the symbol disappears (1:26)

    https://kdrive.infomaniak.com/app/share/117888/bcaff1b6-45f6-4e0a-8865-a7676ce7085f
    In this case it's not so bad because by editing the Marionette network the symbol is recomposed.

    This is still problematic because in the office where I work my colleagues are not as interested as I am.

    They will probably tell me that it's bad and that it doesn't work.

     

    @DomC

    I just installed SP3 this morning


    I will do a small study to know more precisely when these parametric symbols disintegrate.
    Thanks for your feedback, I appreciate very much to exchange on these subjects
    greetings

     

    Raph

     

     

     

×
×
  • Create New...