Jump to content

Nicolas Goutte

  • Posts

  • Joined

  • Last visited

Everything posted by Nicolas Goutte

  1. I do not know a definitive answer to this. We do have our problems with invalid handles at times too. You can check not only that the handle is a nullptr but its dereference (*handle) too. However that is not enough either. The next step is to check its the parent layer return for that object. The layer and its parent should not be null. (Not sure if this is valid for symbols, because in in our code, why have extra code for symbols too.)
  2. I know only interfaces for handling a plug-ins' part of a migration. However that does not help me, as Batch Convert is triggered by the library conversion part of the migration, something which is pure VW code.
  3. Is there a way to know that a code is called in the middle of a migration or in middle of a Batch Convert? (Both, Migration or Batch Convert, started by a user, not by our code. Therefore I do not have the option of giving a callback to the Batch Convert, as when I call the corresponding SDK call.)
  4. I suppose that it is not possible. BuildResourceList and Co. (be it in C++, VS or Python) do only work on VW document of the current major version (e.g. 2022 document for VW 2022). That has been always that way, for as long as I know VW (i.e. 2007).
  5. We (the interiorcad team) sorted this out by making our own assert-Macro, controlled by our own #define.
  6. No, the whole quantize stuff is a feature of macOS. As long as you use Safari, you will have the problem. May be instead of zipping it , you could pack it in a signed and notarized DMG. (However, personally, I have only put installers in such DMG, not a single VW-Plugin that user could copy. Therefore I do not know it it works.)
  7. Do you ZIP the plug-in and download it per Safari afterwards? Then in this case, the archive is quarantined. You have to de-quarantine the archive before you unpack it: xattr -d com.apple.quarantine archive.zip
  8. Internally VW is metric (in Millimeters to be exact). That is why the exports are primarily metric too.
  9. I have ggogled a bit (my Pascal is really rusty meanwhile that I do not use neither Pascal nor VectorScript) any more: ok := (GetCurrentMode & 8 ) = 8 (You cannot assigned an integer to a boolean in Pascal, like you can do in other languages.)
  10. Sorry, Imenat it in Python That is classic way to do things (especially in old C days). If you see constants that are 1, 2, 4, 8, 16... you have a good chance that the values are ORed
  11. You must write something like: bool( vs.GetCurrentMode() & 8 )
  12. If you want to use regular expressions, you have to use explicitly the module "re", the one handling regular expressions: https://docs.python.org/3.8/library/re.html Be careful that in regular expressions .+ means "at least one character", which might not what you seem to want.
  13. Not sure about that. (I think there is a special mode in USB 3 to avoid that... but I am far from being a USB specialist.) I meant more from CPU to device. No need of a USB 4 hub if your computer kann only do USB 3.
  14. Sure, it is difficult to know what the M1 chip can or cannot do (as only Apple really knows it). And as far as I have understood, at least part of the hardware would be TB4-ready... but it is like with USB, the slowest link dictates the speed.
  15. As far I have understood, the M1 Mac mini knows TB3 and USB 4, but not TB4. So I suppose that having a TB4 dock would be only a waste of resources.
  16. First, please double-check to have installed the latest interiocad 2021 version. If the symptoms persist, please contact the interiocad support. ("Repair Object Connections" is interiorcad, not VW)
  17. That has not to have with immediately. It just to have if one transformation has to be done before or after another. As I have written above that is not the same. Yes sure, for "after"you have to be on the left side, for "before" on the right side of the multiply. (The vector you transform is always the far right side the matrix formula.)
  18. See in the Vectorworks Preference dialog, tab "User Folders". First, is the user folder the one your mean by describing "~library/default/templates"? Second, are there any workgroup folders where the files could be hidden? Last check the corresponding folder in the program folder. Would they be there, for any reason?
  19. In short: make a cabinet door and then in the dialog change the door from "Plain" to "Frame". (That is new of interiorcad 2021.) Again, here too, in short: in the dialog, tab "Division", select one box, then click the symbol with the arrow for expanding the selection, until you have the right selection for the door you want to change. Check the documentation at: https://conf.extragroup.de/display/IM/Division+Tab if you need more information to were that symbol for expanding the selection is.
  20. Transformations (mathematically matrices) are not commutative. That is the reason of "before" and "after". Otherwise said: making transformation A, then transformation B is not the same as making transformation B first and then A.
  21. OK, then Ido not know. Perhaps somebody knowing macOS 11 more could help you.
  22. Then same here. Check you have the latest update VW 2021 SP2.
  23. As you are running macOS 11, double-check you are running the latest version of VW 2020, which is VW 2020 SP6. Much earlier version are not meat to run on macOS 11.
  24. May be it is a personal preference. Also it depends how tight the security is going to be in future macOS versions (which is hard to forecast).
  • Create New...