Jump to content

Neatworker

Member
  • Content Count

    32
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Neatworker

  • Rank
    Greenhorn

Personal Information

  • Occupation
    Software developer
  • Homepage
    connectcad.com
  • Location
    United Kingdom

Contact Info

  • Skype
    connectcad

Recent Profile Visitors

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

  1. Neatworker

    So what is this file? machine_uuid.txt?

    Hi Chris, Well I asked the guru and the reply was this: The machine_uuid.txt file contains an identifier that uniquely identifies a machine on which Vectorworks has been installed. It is used by Message Center, in conjunction with network adapter MAC addresses and application serial numbers, in order to identify/validate a Vectorworks client. UUID values can be relied upon to be unique (the chances of any two clients generating the same UUID values are incredibly remote). If the machine_uuid.txt file does not exist upon Vectorworks start-up, it will be created. So it seems to me that it isn't necessarily suitable for licence verification purposes given that it's just a text file and easily tampered with. Conrad
  2. A relatively new file has appeared in the user folder in recent years called 'machine_uuid.txt'. Well sounds like something potentially very useful... Could someone from VW comment on this and let me know what it is and how it is maintained? What I mean is if I go change it what happens? Can I safely use this to identify the machine my stuff is installed on? Conrad
  3. A relatively new file has appeared in the user folder in recent years called 'machine_uuid.txt'. Well sounds like something potentially very useful... Could someone from VW comment on this and let me know what it is and how it is maintained? What I mean is if I go change it what happens? Can I safely use this to identify the machine my stuff is installed on? Conrad
  4. Neatworker

    So what is this file? machine_uuid.txt?

    A relatively new file has appeared in the user folder in recent years called 'machine_uuid.txt'. Well sounds like something potentially very useful... Could someone from VW comment on this and let me know what it is and how it is maintained? What I mean is if I go change it what happens? Can I safely use this to identify the machine my stuff is installed on? Conrad
  5. Neatworker

    Converting internal indexes between drawings

    Pat, the whole thing is a bit iffy. Basically all objects need UUIDs once you start to deal with concepts like linkage between them. And that should be embedded in the app. In SDK there is an internal UUID but the word I have from VW is that the table is not indexed so finding a handle from this id involves searching. Inevitably that will slow down to a crawl as the drawing gets bigger. So I'm stuck with the object name with its good and bad features. Taking a wider view, CAD started out as a replacement for drawing boards, pencils and big sheets of paper. But it is no longer that. Now it is a modelling environment and our expectation is to be able to extract meaningful data from our drawings. Concepts like containment, connection and membership of abstract (non-visual) sets are still not built-in. Adding things like this as an overlay is a lot harder. It's like we're stuck in the '90s. We can draw a line on the screen and measure its physical dimensions but, in our design that line MEANS something. It's part of a model of what we're going to build. Other things are located at it's end points, it crosses boundaries, it's inside certain areas. All that information is still very hard to get at. From my perspective it's not a question any more of optimising what we have. Tweaking just won't cut it. The conceptual level has be lifted out of geometry and into actual design components. Sure we need geometric primitives to design the perfect washbasin for example. And you'll play around with NURBS and all that good stuff. But once you're done that washbasin component goes in a restroom. And the restroom is contained in a section of the building. To function the washbasin needs hot and cold water and a waste connection. It generates flows in these systems that need to be estimated. Yes we've got the geometry, but where's the systems modelling? Must be some 15 years I've been trying to get this message through... Always good to talk anyway. Conrad
  6. Neatworker

    SDKVW(411874) examples crash Vectorworks - anyone else

    Not sure what's going on with the sample code but libcurl managed to prevent VW loading my stuff on Win but not Mac... just FYI.
  7. Neatworker

    Converting internal indexes between drawings

    Well Pat as you probably know it's not all that simple. VW silently changed the behaviour of object names under duplication following a customer request. So now <uuid> becomes <uuid>-2 after copy-paste and duplicate. BUT... if you dare duplicate a layer you'll find all your objects with blank names again. There are also some fun variations on the this theme during symbol placement too. I think I've seen the old 'none' value (guess what handle you get when you ask for an object called 'none' ;-) ? In fact the new way of doing this is very neat for us developers. Because if you are using uuids to relate objects the -2 suffix makes it a breeze to locate the duplicated 'friend' of your duplicated object if you see what I mean. So I have entered an improvement request to get this policy applied across the board. Would also be nice if PIOs would reset on layer dupe too.... Oh well back to it I guess... Conrad the Greenhorn
  8. Neatworker

    incompatible plug-in warning

    Well I've been there and done that. Python is ok and you can send and get JSON which translates beautifully into dictionaries. I'm using that technique to manage on online repository of device data for a year now. libcurl on the Mac was actually very easy indeed. Probably i just have to do it the MS way on Windows and that's all there is to it.
  9. Neatworker

    incompatible plug-in warning

    Hi Joshua Well I have some news on this. It seems to be caused by the libcurl library that I'm trying to squeeze into the Windows build. I haven't had time to fully investigate but I suspect there's a define in the libcurl headers that may be conflicting with our SDK_VERSION define. You get away from VS quirkiness and re-discover it in a new form. On the Mac libcurl is built in so using it to access web resources from within a plug-in is a breeze. Seems like Windows has it's own way of doing http requests so I've got some reading to do. One thing I can say is that trying compile libcurl and openssl for Windows has not been an easy ride. Conrad -- but hey, I'm just a Greenhorn... --
  10. Neatworker

    incompatible plug-in warning

    A new fruit ... I'm seeing this dialog when I compile my code. And I can't for the life of me see where I'm going wrong. This all used to work, and it works on Mac, but Windows is giving me trouble. If I try one of the sample projects (in 401138 - the later one crashes) these load fine. My stuff gets complaints... Anyone know the magic words? Conrad
  11. Hi, SDKVW(411874) is giving me a bit of trouble. My own plug-in is not recognised by VW and the examples supplied crash Vectorworks. Is anyone else seeing this? Conrad
  12. Neatworker

    How to detect layer duplication

    Hmm! getting there... I have a tasty mixture of VS objects and SDK with the Update Manager as chef! Looks like the Update Manager grabs object states and then VS objects don't get them... so we live and learn.
  13. Thanks for your thoughts Pat, I think it does come down to saves settings. But in any case custom worksheet scripts are slow as old boots so I'm going back to my old way of doing it. Super-fast slick VectorScript !!!
  14. Neatworker

    How to detect layer duplication

    Seems like every 2018 SP does something different. So I thought maybe I'd ask here just in case. I need to get either a notification or an object state or something at least in the Update Manager to tell me that a layer has been duplicated so I can fix the new instances of my objects in it. Is there something I can rely on for at least this year's VW?
  15. Neatworker

    Converting internal indexes between drawings

    UUID in the object name is the way to go. According to Vlado the name table is indexed and is fast. Internal uuids are not indexed. My 2p worth.
×