Jump to content

Nico_be

Member
  • Posts

    177
  • Joined

  • Last visited

Reputation

88 Excellent

2 Followers

Personal Information

  • Occupation
    Landscape designer in Belgium
  • Homepage
    www.esquissedujardin.be
  • Location
    Belgium

Recent Profile Visitors

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

  1. I solved this problem a long time ago by creating my own plant lists based on the web catalogs of nurseries I know. The principle is to scrap their catalogs to collect the data and then classify them in excell according to VW's catalog structure. it takes a little time at first but saves a lot later on.
  2. Hello, Are LAs defined by styles? An idea : Edit the LA style and definie the shoulder by style. Click OK. then edit again and set it to instance. OR : Disable complety old Tag and apply Data tags?
  3. Hello, For landscapers who create a lot of plants, I've just shared a marionette tool I created to simplify my work. Enjoy!
  4. Version 1.0.0

    2 downloads

    Explications en français ci-dessous. ENGLISH For landscapers who use large quantities of plants, there's a tool that lets you create plant symbols on the fly in Vectorworks. Unfortunately, this tool is very limited, as plants are created with the same symbol, in the same colors. I created this Marionette tool to enable you to modify, in a few clicks, even for hundreds of plants, all the plants in a file so that the symbol has the color entered in its field. The color is defined by the automatically created class of the color name, so it can be easily modified later. How to proceed : - Import the puppet network, scripts and table into your plant file. - Run one of the two scripts in the file, which will place the symbols on the layer(s). -Display the “PLANTS” table and, if necessary, adjust the filter to display the plants on the layer of your choice. -The “flower color” field must be filled in with the flower color of each plant; if it is empty, the plant will be black (and therefore easy to spot). - the last column of this table shows the rarely-used “Project data” field, used to enter the RGB equivalent of the color. - Copy the color cells and copy them into Grok, Chat GPT or another AI tool, and ask for the 8-bit RGB value of each color. - Paste these values in the last column. - Variables in the marionette network are adjustable if you want a fill pattern instead of a solid color for the class. Or to change class names (default is PLANTS-Flowers-**flower color**). - Run the puppet network, it will ask how many plants you want to process. - You're done. - If necessary, adjust the class colors and names. FRANCAIS Pour les paysagistes qui utilisent de grandes quantités de plantes, il y a un outil qui permet de créer les symboles de plantes à la volée dans Vectorworks. Malheureusement cet outil est très limité car les plantes sont crées avec le même symbole, de la même couleurs. J'ai créé cet outil Marionette pour permettre de modifier, en quelques clics, même pour des centaines de plantes, l'ensemble des plantes d'un fichier pour que le symbole ait la couleur renseignée dans son champs. La couleur est définie par la classe automatiquement crée, du nom de la couleur, donc facilement modifiable par la suite. Marche à suivre : - Importez le réseau marionette, les scripts et le tableau dans votre fichier contenant vos plantes. - Lancez un des deux scripts du fichier, il placera les symboles sur le ou les calques. -Affichez le tableau "PLANTES" et ajustez éventuellement le filtre pour afficher les plantes du calque de votre choix. -Le champs "couleurs des fleurs" doit-être renseigné avec la couleur des fleurs de chaque plante, s'il est vide, la plante sera noire (et donc repérable facilement). - la dernière colonne de ce tableau montre le champs "Données du projet" rarement utilisé, il servira à renseigner l'équivalent RGB de la couleur. - Copiez les cellules de couleurs et copiez les dans Grok, Chat GPT ou un autre outil IA. et demandez de donner la valeur RGB 8 bits de chaque couleur. - Collez ces valeurs dans le dernière colonne. - Des variables du réseau marionette sont ajustables si vous voulez un motif de remplissage au lieu d'une couleur unie pour la classe. Ou pour changer le nom des classes (par défaut ce sera PLANTES-Fleurs-**couleur des fleurs** - Exécutez le réseau marionette, il demandera combien de plantes vous voulez traiter. - C'est fini. - Eventuellement, ajustez les couleurs des classes et les noms.
  5. Version 1.0.0

    2 downloads

    Return simple RGB value from IOP to String value
  6. Hello, I've been using this script for a long time, and I've integrated it into the menu via the Plugin Manager because it's so practical and frequently used. PROCEDURE ShowAllSymbols; {?1999 Graphsoft, Inc.} {The traverseSymbolList procedure was developed by Craig Hollinshead.} VAR numFolders, numNestedFolders, numSymbols : INTEGER; messageString : STRING; OK : BOOLEAN; NewPtSize : INTEGER; OldPtSize : INTEGER; SelectedObj : HANDLE; TheSymbolName : STRING; SymFolderName : STRING; TheSymDef : HANDLE; SymDef2 : HANDLE; ChangeAllLines : BOOLEAN; CurrLayer : HANDLE; X, Y : REAL; XSpacing, YSpacing : REAL; NumAcross : INTEGER; StartX, StartY : REAL; LayerNames : ARRAY[0..200] OF STRING; Index : INTEGER; {=============================================================================} PROCEDURE TraverseSymbol(theSym:Handle); VAR symObjClass : STRING; origLineWt : INTEGER; symName : STRING; symInstance : HANDLE; sX1, sX2, sY1, sY2 : REAL; BEGIN symName := GetSDName(theSym); symName := GetName(theSym); Symbol(symName, X, Y, 0); symInstance := LNewObj; GetBBox(symInstance, sX1, sY1, sX2, sY2); TextFace([bold]); TextOrigin(sX1, sY2 - 1); BeginText; symName EndText; numSymbols := numSymbols + 1; {Increment symbol count here for accurate tracking} X := X + XSpacing; IF (X >= (StartX + (NumAcross * XSpacing))) THEN BEGIN X := StartX; Y := Y - YSpacing; {Move to next row} END; Message(concat('The Sym#', Num2Str(0, numSymbols), ' is - ', symName)); END; {PROCEDURE TraverseSymbol} {==============================================================} PROCEDURE traverseSymbolList (itemHdl:HANDLE); BEGIN WHILE (itemHdl <> NIL) DO BEGIN CASE GetType (itemHdl) OF 16:BEGIN TraverseSymbol(itemHdl); END; 92:BEGIN SymFolderName := GetName(itemHdl); numFolders := numFolders + 1; numNestedFolders := numNestedFolders + 1; LayerNames[numFolders] := SymFolderName; Layer(SymFolderName); X := StartX; Y := StartY; TraverseSymbolList (FInFolder (itemHdl)); END; END; {CASE GetType (itemHdl)} itemHdl := NextObj (itemHdl); END; {WHILE (itemHdl <> NIL)} IF numNestedFolders > 0 THEN numNestedFolders := numNestedFolders - 1; END; {PROCEDURE traverseSymbolList} {==============================================================} BEGIN {*/// Main program ///*} XSpacing := DistDialog('Enter Horizontal Spacing Distance:', ''); YSpacing := DistDialog('Enter Vertical Spacing Distance:', ''); NumAcross := IntDialog('Enter the number of symbols per row', ''); Message('Click on top left corner of the grid'); GetPt(StartX, StartY); CurrLayer := ActLayer; numFolders := 0; numNestedFolders := 0; numSymbols := 0; X := StartX; Y := StartY; LayerNames[0] := GetLName(ActLayer); IF FSymDef <> NIL THEN TraverseSymbolList (FSymDef); Index := 0; Layer(LayerNames[Index]); WHILE (FInLayer(ActLayer) = NIL) DO BEGIN Index := Index + 1; Layer(LayerNames[Index]); END; SetLayerOptions(1); Redraw; ClrMessage; END; {PROCEDURE ShowAllSymbols} RUN (ShowAllSymbols);
  7. In fact, it's quite simple: in the usual list of symbols in an worksheet, I'd like to see the Tag value (Mot clé in French) of the objects placed on the drawing. The "Mot clé" value circled in red in the attached image. Mot clé.vwx
  8. Hello I'm looking for the formula in the table that gives the DataTag of the objects (zzz in the first message) on the drawing. What is it?
  9. Hello, For each plant catalog, you have a .txt file containing plant characteristics and a folder containing images. The file and folder must have exactly the same name. The name of the images must be placed in one of the "images" columns of the text file", i.e. from AC to AF. For example, for plant xxx, you have a file named xx.jpg. You put xx.jpg in the AC column of the LIST_PLant1.txt file and the xx.jpg file in the LIST_PLant1 folder. Translated with DeepL.com (free version)
  10. Version 1.0.0

    2 downloads

    Combine 3 Strings into one. I thought cal already existed but never found it, so I built it. Simple but very useful! Thanks Grok!
  11. Version 1.0.0

    1 download

    Node that converts an 8-bit rgb value (255,105,180) into a 16-bit value (65535, 26985, 46260) expected by other marionette nodes. Useful for defining object colors according to table cells, for example. Thanks Grok!
  12. Nico_be

    Ncs2Rgb

    I have errors with NC codes, such as these. Am I doing it wrong? 0500-N 0500-N 1070-Y 3060-B 0500-N But they works when i do the test here : https://www.nuancierpeinture.fr/recherche-peinture/1070-Y
  13. Hello I did a few script creation tests with Chat Gpt, Claude and other AIs and I kept getting errors, even asking them to correct and provide the errors never worked. I tried Grok, and I'm amazed. It creates scripts perfectly. If this one generates an error, I send it to it and it's corrected. I've done some simple tests, but I think there's a way of going much further! Here's the link to the discussion (in French) so you can see how it works. https://grok.com/share/c2hhcmQtMg%3D%3D_78afece4-b399-4a04-ae79-4269a7c90e22
  14. It's actually quite simple: the 0.0 center of a pattern is the center of the group of all the objects making up the pattern. In the image below, it's the red dot. So if you want the 0.0 to be at a particular point, you have to make sure that the center of all the objects in the pattern is at that particular point. To do this, I draw a square (option from center) that includes all the objects in my pattern, from the center 0,0 I want : Finally, I place 4 2DLoccii at the 4 corners and one at the center of the rectangle, and erase the rectangle. The one in the center just helps me to visualize the 0,0 origin of my pattern. My pattern is finished. 2DLocci are only visible on-screen and are drawing aids. But I can place them in a class that I can make invisible if I don't want to see them anymore.
  15. a headache like I love 🙂 Patterns don't seem to work like hatching. Patterns create their 0.0 point at the geographic center of the pattern. You can see this center by grouping the pattern elements, and the 0.0 will be the center of this group. So to get around the problem, I've added the “2D locus” so that all your tiles + the 4 “2D locus” form a whole, and the 0.0 center is the point you want. The “2D locus” are invisible when printed, so you may want to place them in an invisible class. Not easy to explain, I'm attaching the modified example. Tile Example-correct.vwx
×
×
  • Create New...