Jump to content

Raph

Member
  • Posts

    48
  • Joined

  • Last visited

Reputation

14 Good

Personal Information

  • Homepage
    standconcept.ch
  • Location
    Switzerland

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, so i tried to find the function but without success do you have a description of the function? HMove3D
  2. Hello, thanks for the answer i'll try this option Raph
  3. 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
  4. 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 ParamSymbol_Textil_Molto_v1.4.vwx
  5. Thank You, Ok now it works fine!! 😝 😘 I found that the code with "GetName(worksheetName)" generates a problem. Simplifying the code without using this action works... No idea why, if anyone knows? see next image for code used
  6. Thank you for your feedback and answers, @Sam Jones I can't quite figure out how to convert the "<> NIL THEN" condition into Python. Can anyone help me? My code is in the attached image
  7. 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
  8. Thank you DomC for your feedback and your explanations. I will see if we can integrate the styles in the base file we are working on. greetings Raph
  9. Hi Pat, Thank you very much for your precious help. The job is done! greetings Raph
  10. 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 # 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
  11. 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
  12. Hi PAtW, Thanks for your answer the function you mention returns the RGB value of each color (return (red, green, blue)) In my case I would like to be able to define the color of the text I write I tried with the function : vs.PenFore(color) But with no positive result since it changes the color of everything that follows in the code Maybe a more suitable solution exists?
  13. Hello Everybody, In an existing script I would like to change the color of some texts. for the moment the color is the one of the active class I would like to be able to define the color when creating a text vs.CreateText(myText) Thank you in advance salutations Raph
  14. Hi Stephan, Thank you for your tests Did you try to take the symbol from my file and move it to a new file or an existing file of yours? We are working with a library of symbols that we have created with our own resources. The problems appear when moving these symbols from the library to our new plan. Thanks in advance greetings Raph
  15. Hi Stephan, Yes it is a Marionette object in a symbol. The object is first created with Marionette and then I created a symbol with it. When creating the symbol there is an option to compile it in "parametric" mode In fact by importing it from the library on the current drawing and after a modification (rotation, dimension parameter, etc) the symbol disappears. I have to go to the drawing resources and open the symbol with the edit function. And there, if all goes well, it reappears. grrr I put a symbol here Symbol_test.vwx
×
×
  • Create New...