Jump to content

Mike C

Member
  • Content Count

    27
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mike C

  • Rank
    Greenhorn

Personal Information

  • Location
    California

Recent Profile Visitors

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

  1. Thanks for the reply, Juan. Your answer is what I assumed going in, but here's what happened: Viewer hijacked my desktop icon Viewer hijacked my Start folder icon Double-clicking on a drawing would only open Viewer Right-clicking on a drawing and choosing "Open With..." only gave me Viewer as an option There were not separate entries in the "Programs and Features" panel to just select "Viewer" to uninstall, only "Vectorworks 2016" I tried everything I could think of... Any other options I missed? Thanks.
  2. I forgot to renew/borrow my license serial from the network dongle before leaving work for the weekend, and found myself needing to access a drawing, so downloaded and installed the Viewer. Once I returned to work, I could not find a way to "restore" my full version without completely uninstalling and reinstalling the application. Did I miss something? VW2016 Spotlight Windows 10 64 bit Dell Alienware
  3. Is there a way to retrieve either the user name from the VW license info, or the logged in username from the operating system? Thanks.
  4. I have a couple of custom PIOs that incorporate 2 to 15 hybrid symbols and objects. There can be over a hundred instances of the PIO in the same configuration on a drawing. Is there a significant benefit from a rendering/processing perspective if the first instance of the PIO creates a nested symbol of the multiple objects, and then subsequent instances of the PIO would merely use the nested symbol. Or does the fact that they're still multiple instances of a PIO negate the benefit? Thanks.
  5. Not quite the simplicity I was hoping for, but mystery solved. Thanks!
  6. Is there a method to incorporate a button into the object info palette for custom plug-in objects? I see them used in the built-in PIOs, but can't find anything to add them to the custom PIOs. Thanks.
  7. Thank you Tui! Had not found that command yet.
  8. Is there a command to retrieve the current text settings of the document? One of my plug-in objects sets it's own text size for a label, and that appears to become the default after it's done executing. Within that plug-in, I'd like to retrieve the current text size to store in a variable, and then reset the text size to that as the plug-in finishes executing. It seems I can create a temporary text object at the beginning of the plug-in, retrieve it's size into a variable, and then delete it, but I was hoping for something less convoluted. Thanks.
  9. Thanks, Josh. My original script was divided into two parts, and even that doesn't work. Thanks for the tip regarding Python. Hopefully my company upgrades soon.
  10. I'm using OpenURL to open template files from a custom dialog box. After opening the template, I want to set the view depending on the user, and also write some database values into the file regarding date created, etc. In older versions, this worked. The script seemed to execute the OpenURL command before proceding to the next commands. But not any more. Any commands after the OpenURL seem to execute first, and therefore are executed on the currently open file rather than the new file. Now, the only way I can find to "pause" execution while the file opens is to use an AlrtDialog. Everything else (Wait(), Counter loops, etc.) also hangs the OpenURL from executing. Any other suggestions?
  11. Is there any better documentation on AddAssociation other than the sparse "VS:Function Reference - Vectorworks Developer" and the almost non-existant "Vectorscript 2013 Function Reference"? I can't find the "inKind" integer constants, other than the two that are referenced in the "VS:Function Reference - Vectorworks Developer" help.
  12. Thanks, Kevin. That possibility dawned on me as I wrote "(possibly 30 degrees?)". Is that little tip documented anywhere, or is it a math function I'm not aware of? Since I don't need to divide the number in half when I enter it into the "Spot Light Specs" dialog box, it doesn't seem very intuitive to include it in the VS function. The light object I'm editing via Vectorscript is part of a PIO, so I didn't have the feedback of the OIP of the light itself. Thanks again.
  13. When I apply SetBeamAngle to a spot light object, it doesn't appear to be setting the light to the proper angle. I can can create the light object "manually" within a symbol to an 15 degree beam angle, which produces the correct light output. But if I then set that same light object to an 15 degree angle with code, the edited light object outputs a larger angle (perhaps around 30 degrees?). I'm also editing color and intensity within the same script, so I know I'm affecting the correct light object. If GetTypeN(hndBody)=81 then begin {Light object} hndBeam := hndBody; SetLightInfo(hndBeam, 2, pIntensity, True, True); SetBeamAngle(hndBeam,15); SetSpreadAngle(hndBeam,18); SetLightFalloff(hndBeam,1,1); if pColor='' then begin ColorIndextoRGB(0,realRed,realGreen,realBlue); end else begin mcGelColor(pColor);{Internal subroutine to set RGB values} end; SetLightColorRGB(hndBeam, realRed, realGreen, realBlue); end; Thanks in advance.
  14. Thank you Miguel. I never would have gotten there on my own. Now, I'll try to understand it as well.
  15. I'm trying to point a 3D PIO at another 3D object utilizing the Set3DRot function, by "panning" on it's z-axis, and "tilting" on it's x-axis. The panning angle is easy enough to calculate since it can be figured on just the two-dimensional x-y coordinates of both objects, but I'm having a hell of a time calculating the tilt angle since that throws me into three dimensional vectors. I've messed with Vec2Ang(CrossProduct(vec1,vec2)) and AngBVec(vec1,vec2) and some other M_GetSlope subroutines I've found in the Help section, but they don't appear to give me the result I need. I have basically no trig and calculus education, and my grasp of vectors is weak, so please use small words. Thanks.

 

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...