Jump to content

_c_

Member
  • Content Count

    1,849
  • Joined

  • Last visited

Everything posted by _c_

  1. Before one asks, I tried all possible text, data tags configurations and settings. This can't be done.
  2. No, you can't. Depending on object rotation you end up with height over width, which is truly fatal. Believe me, been there already. I will file now an official wish item, wanted to do it long ago.
  3. And I am crashing/hanging non stop as soon as I use the GetPt call in PIO from a button event. But one step at a time.
  4. It has been said before and it is perfectly useless to say it again, but indeed variable declaration and handling, while less powerful, is clearly a no-brainer in Vectorscript Pascal, while in Python it is a major source of headaches. I can't begin even speaking of how much I miss Vector variables in Pascal. And yes, I am using vector classes in Python. Rant off. I'll get fit in this fast enough.
  5. Ciao @PatW, the vs.py comes from one of the latest SDK. I don't think that the problem is in the None access, I think that there are underlying problems related to user interaction -or lack thereof. The whole trouble comes from vs.GetPt in some subtle way.
  6. No, it is definitely weird. I do have it also in the normal VS editor. This causes errors: import vs def LinkIt(obj): recH = vs.GetParametricRecord(obj) if recH is not None: # uses words vs.AlrtDialog(vs.GetName(recH)) def Sub(pt): vs.ForEachObjectAtPoint(LinkIt, 0, 0, pt[0], pt[1], 5) h = vs.FSActLayer vs.GetPt( Sub ) While this does not: import vs def LinkIt(obj): recH = vs.GetParametricRecord(obj) if recH != None: # uses operators vs.AlrtDialog(vs.GetName(recH)) def Sub(pt): vs.ForEachObjectAtPoint(LinkIt, 0, 0, pt[0], pt[1], 5) h = vs.FSActLayer vs.GetPt( Sub ) But this never gives problems: import vs def test(h): if h is not None: # uses words vs.AlrtDialog('not NIL') h = vs.FSActLayer test(h)
  7. The errors come up in VW, though. I have a lot of problems but perhaps it depends on what I am doing. I was silly enough to begin my belated catching up of Python from.... vs.GetPt.
  8. I don't understand this. if I use in an external editor (Visual Studio Code, should that be relevant) this code I get bucketloads of errors: h = vs.GetCustomObjectPath( gPio_H ) if h is not None: .... While the same, expressed with operators, doesn't: h = vs.GetCustomObjectPath( gPio_H ) if h != None: .... But only in the external editor. In a doc script both forms possible without any problem. What could cause this? Please read the Python Programming recommendations: www.python.org/dev/peps/pep-0008/#programming-recommendations
  9. @twk I added a remark on dev, it is important for people to know it. https://developer.vectorworks.net/index.php/VS:GetLBHeaderTextWidth Is it you the user Tui? I credited to that user.
  10. Ciao @twk, you got me curious, I can confirm that GetLBHeaderTextWidth doesn't crash on Mac under VW 2021. I have no access to win at the moment.
  11. It's taken, it was really only a glitch. It is something affecting foreign scripters not using a querty keyboard. How many are we.
  12. I filed now again a reminder. I filed this as bug in 2014 and called again and again for the solution, like some others.
  13. Hello everybody, just to inform that now the List Browser article has been reworked and put on dev in my user space, since the thing is all but official. https://developer.vectorworks.net/index.php/User:CBM-c-/VS-List_Browsers_part_1 I would be thankful if one of the admins could delete the attachment in my previous post (under Orso's Avatar). I found out that the webarchive I saved is full of truly ugly links, the wiki had apparently been capered before being shut down. This also applies to the Wayback machine, and BTW, that most articles didn't save. @Pat Stanford, can you help there? Delete the zip here? Pat, I could still delete it as Orso, it's done! Thank you and happy new year everybody!
  14. _c_

    2021 Public Roadmap

    What a lovely place you gave us! Here Berlin, pretty much according to expectations. Dark. Cold. Winter.
  15. _c_

    2021 Public Roadmap

    John, the public release of Renderworks as built-in part - vs being a separate module - was one of the best decisions ever. A true added quality. I truly hope that we won't be left without RW.
  16. @Helm, my previous post came in just as your previous one!
  17. John, while these young ones are indeed not paid much, they are still paid. This is Germany, not Italy, where they even pay themselves, in some particularly bad cases. I do remember that long gone myself struggling to find a job in a country whose language I didn't speak and I had the disadvantage to come from an environment where there was no practicing habit. Italy. I wished indeed to be given that chance beforehand. As a rule I think that no trainee, ever, came under my teaching without experiencing warmth and the highest degree an respect. I do like them immensely. I had countless and baked countless sweets for them.
  18. Hello Elepp, we have a system which doesn't require particular skills and certainly no dedicated person. I consider it highly efficient and scalable, given the circumstances. We use it for every project, from small to large.
  19. And the archive policy. You can archive a drawing made of references old style and a layout, because you can cap references keeping the layers. That's the real publishing. But you cannot archive sensibly a whole project with layouts in the same file of the geometry because you are never able to restore the exact things you published, should you need it. By legal troubles you want that certainty.

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...