Jump to content

Raph

Member
  • Posts

    48
  • Joined

  • Last visited

Everything posted by Raph

  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
  16. Hi Stephan Thanks for your answer This will solve the network display problem. But the basic problem is more annoying. in fact each time I import a new parametric symbol, I must to open it and go to the Marionette network. Otherwise the symbol remains invisible Is there anyone who regularly uses parametric symbols and this happens to them too? Is there a solution to this problem? Thanks
  17. Hello to all, When I import a parametric symbol in a new drawing I have a display error. Often the result is not displayed and the Marionette network is completely messed up. Does anyone have an idea? How do you do it? greetings Raph
  18. It is really strange I have the impression that the network disconnects when I rotate the symbol
  19. Hello everyone, I have recently created a series of parametric symbols to make walls, see attached file. Unfortunately, when I want to rotate (90°, 180°, 270°) these symbols Vectorworks does not like it. The program crashes or the Marionette network disconnects and becomes invisible. Has anyone encountered this problem before? How to solve this dilemma? Thank you in advance for your feedback Best regards Raph Pan_ParamSymb_VW2022.vwx Pan_ParamSymb_VW2023.vwx
  20. Version 1.0.0

    43 downloads

    Tiles a rectangular area with a set of rectangles the beginning of each row is the "cutoff" from the end of the row above.
  21. Hi Pat, Hi Everybody, Here is the last parametric symbol that generates a worksheet Thanks Pat for your help As usual, if anyone has any suggestions for improvements, we'd love to hear from you greetings Raph TileRects_Symbol_WS.vwx
  22. Thanks for your quick feedback My idea was to create it with vs.python code Pat an idea? create a table in VS? 😁
  23. Hello, I would still like to export a "worksheet" list of the panels with the number and the dimension. Does anyone have an idea on the functions to use to make this happen? Thanks in advance greetings Raph
  24. Hello, OK I finished my program🤩 See attached file!!! Thank you Pat for your very valuable help I remain open to any possible improvement Greetings to all TileRects_Symbol.vwx
  25. Hello, Well.... I have made good progress I'm just blocked to finish the Y loop by changing the parameter "max" in "min" the loop runs without end, I think since VW crashes. Does anyone have an idea? Pat? I know that Python is not your favorite field but you have more experience than me😉 I tried to put a "if" SheetEndX > FX2 Do SheetEndX = FX2 but nothing works!!! file and printscreen attached Kind regards TileRectsFloor_v5.vwx
×
×
  • Create New...