Jump to content

Dominique Corpataux

Member
  • Posts

    47
  • Joined

  • Last visited

Reputation

19 Good

2 Followers

Personal Information

  • Location
    Afghanistan

Recent Profile Visitors

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

  1. Hi If you save a script as a red Symbol it automatically get a style.
  2. Clean an good looking Marionette. I think you have to make it a little more nuanced. Most of all we need numbers and not terms like fast or slow speed up etc. Not the first time we discuss here. There are the following Processes we can seperate: 1. Regenerate the Object.(Changing parameter) 2. Duplicate and/or Regenerate the Network 3. Change after Duplication (Depends on #2) #1 can be optimized by strategy of Object creation. As example doing first the math and then placing objects. Not placing Objects and then move as example. But normally there is not wo much potential to speed up the code itself. I have the following measurements with your Marionette: 4. Duplicate Array 50 pieces > 5s 5. Move those 50 Duplicates > 53s (because after duplicate array the network is not completely reset and the pio is not resetting) 6. Changing parameter for all > 36s As i told #6 could be improved by optimize the network. First math, then Geometry. But not sure how much potential it has. Not so much i think. What you could do is, to make a stile out of your network. Then i got the following numbers: 7. Duplicate 50 PIOs > 2s 8. Move those duplicates > 21s 9. Change Parameter > 35s And if you use those PIOs as a Marionette, the #8 and #5 are relevant. Because the cabinet insert the Netkwork, then regenerate the network, then regenerate the code and then explode the PIO. With a stiled Marionette you can speed up 100% i would guess
  3. You should be able to Download it via the Button above "Download this File" Ant then you should see the different versions.
  4. I reduced to a simple test. Creating a viewport from 3 extrudes and switch off the left extrude. Manual Workflow: Workflow with Script: Switching off the Surface hatches the result is correct: Good possible i missed something. Also a possible conflict by combining vs.UpdateVP() and surface hatches option. I will submit a bug. class vp hidden line.vwx
  5. BTW, you are right there is not a fundamental difference between the menu-command and the script command. The Menu command would not fix the issue completely. It seems that the button on the info-palette makes the difference. Also Update ALL fixes it. I think the issue sit is a little bit deeper than just an update issue.
  6. Thanks I tried with, without s, small letters, big letters etc. feel bad by using this one but once i got it with this "brute-force-method" (not in this case)
  7. Hello My actually (succesful) approach is, to connect python (import pymysql) to an sql database, query data from this database and do the same with a website. So far that works but this needs a costly infrastructure to run. I am searching a way to directly share data via Session-Variable or at least a JSON download inside the web Dialoge and grab this data with Vectorworks after leaving the dialog. If I would download a file inside the web dialog this file is nowhere, also cookies or session variables are stored encapsulated from the system and also reversed system is encapsulated for the webbrowser. By the way that is good generally for our all security. I think there must be an undocumented API to directly securely transfer local data between the web Dialog and Vectorworks. Maybe SDK technique has to be used for this? I'm curious about it.
  8. The Size of "10" means, that the width line of the texture is set to 10mm. If you set your document units to meter as example it will still be 10mm and will show 0.001m. If you want to attach that texture on a 1m x 1m object and it should fit the size you can make the size = 1000 or you can scale the texture mapping by for this object. But this will need another script (Or an enhancement of the import-script) to attach the texture and scale by geometry_size_in_mm divided through 10(or what ever size you imported the texture)
  9. I think we had that issue that a network can disconnect in this "red-symbol-different-layer-scale-situation" with 2021 SP4 and below and with 2022 till SP3 and as a heard it is a chance to be improved with 2022 SP4
  10. Hi Oups, did not thought about that limit. There was a plan to implement code for checking stock material. That code was not implemented completely and there was set a constant maximum of boards per material of 10. And the Standard input of material was 2. So this results in 20 Boards. As a short fix you can change the code on apprx line 2474 to max_board = 100 or more if needed. But this needed to be fixed in the node anytime I take time for that.
  11. We had those issues frequently every two years. It is a false-report from die Antivirus
  12. For sure this is a false-report from Antivirus-Software. Normally it takes a while till the update their virus definitions.
  13. Hi You can sort and reverse to sort the classes ascending and descending. I attached a new Version of the File. Regards Dominique
  14. That is repeatable and happens always by the following steps : 1. If I duplicate a Marionette PIO (with alt-Key and selection tool drag and drop), which has the "reset after move" Option off, it do not change the input values in Object-Info 2. Changing the Object Info after step 1 it returns all Values to the default input which is stored in the script network 3. With the "reset after move" on the inputs reset after duplication as step 1 Workaround is, to first edit the script after it was duplicated and exit. Then the values from Object Info will be written inside the wrapper as default. This was already reported ...
×
×
  • Create New...