Sam Jones

Member
  • Content count

    139
  • Joined

  • Last visited

Community Reputation

8 Neutral

6 Followers

About Sam Jones

  • Rank
    Journeyman

Personal Information

  • Occupation
    Technical Director
  • Homepage
    www.autoplotvw.com
  • Location
    Los Angeles

Contact Info

  • Skype
    AutoPlotVW

Recent Profile Visitors

756 profile views
  1. Is there a way one can find out what structural (weight) units a user has picked for a drawing? I imagine that it is a GetPref() call, but I can't find it. Hopefully it exists. Additionally, does anyone know what metric units VW uses to store weight? TIA, Sam
  2. A vectorscript could certainly do this, but... Since they're all selected, why not renumber them all starting at 11? Also, using a Hanging Position or a Lighting Pipe you can have it auto number.
  3. Have you managed to get ODBC to work with any 2 programs? Perhaps Miguel Barrera is a place to start, but I think ODBC is just too hard, and it isn't all VW's fault. I'm sure someone at VW has gotten ODBC to work, but the LightWright / Vectorworks connection is not an example. John McKernon, the author of Lightweight and VW collaborated to hard code a connection that uses XML files to pass information; no ODBC involved at all.
  4. Yes it was as was the example that twk pointed me to. However, I was not able to determine how to fit which indices in my process would be fit into the ProgressDlgStart() and ProgressDlgYield(). I'm sure continued experimentation would have yielded an answer, but during the experimentation that I did, I found a solution that did not involve a progress bar, so I moved on. Again many thanks.
  5. Where can I find Dialog Builder for VW2018?
  6. The window plug-in is part of Vectorworks and the orange in an apples to oranges comparison. The trick is constructing a user interface that will allow one to construct a custom connection with any other program that supports making such a connection. This problem is unique and not appropriate to compare with plug-in object programming, such as the window object. ODBC has never been easy. In fact getting ODBC to work is a hell of lot harder than scripting. This has been the case with every program I have tried to hook up to Filemaker using ODBC. The production company PRG Hamburg got ODBC to work but only after scouring Europe. They found one guy, in Switzerland, who they paid to construct the connection. When you don't have control of both sides of the action, it's going to be exceptionally tough to create the user interface. All that being said, if VW could solve the problem of creating an easy user interface for constructing a live connection with an outside database, it would be @#$%& fabulous. Hippocode, ok, don't advertise. Send me some examples privately, they will reshape the terrain I'm working in. Sam sjones@autoplotvw.com
  7. OK, that would be nice. Where have you seen this. The "this" being an easy way for an end user to set up a custom configured connection between two separately created and marketed programs to seemlessly share information. I'm sure this is the future of personal computing, but I haven't seen it or heard of it. I would love to check out any examples you can point me to. Currently, VW seems to provide the most easily accessible tools for creating such a connection between CAD data and database data. Easily? No. More easily than other CAD programs? I think so, but my familiarity is not that great. Show me.
  8. Play with the check boxes under the "Display On Drawing" divider. You will not have anywhere near the control you desire, but you will have much more than you seem to realize. Also, unchecking the "Calculate Parts" button will allow you more freedom in assigning part lengths.
  9. I can't help you with the problem of displaying "extra" or formatting the text, but... You should be able to type in the value of the vertical runs into the vertical distance parameter of any part so that your amounts are correct.
  10. Thank you, Obiwan!
  11. Can anyone point me to instruction, examples of how to use the ProgressDlg calls? The Function Reference is unhelpful. Sam
  12. The import command in AutoPlot should work, but it will require the creation of tab delimited file to read; Filemaker should be able to handle that. The info has to be in the same order that it was exported, and the first line should contain field names which will be ignored. I haven't used the commands in quite some time since I work with Lightweight, but I just tried a very simple test file, and it seems to work as described. In terms of using keystrokes to activate commands, this can be done with any AutoPlot commands using the Workspace editor. HTH.
  13. OK. In your original post, you said you wanted to export and import instrument data. Which instrument data? Here are some questions that need to be answered. (BTW I have written routines to do just this) 1. Are you using Spotlight? 2. If so, do you want to export information contained in the Object Info Palette (OIP) of the Lighting Devices instances you have placed? 3. If you are using Spotlight but do not want to export information from the OIP, what information do you want to export/import? 4. If you are not using Spotlight, what information do you want to export/import? If you can identify the info, it can be exported/imported? It would seem from your examination of the OIP that you are using Spotlight and want to deal with the OIP data of the Lighting Devices. If this is true, forget about the data tab. What you want is the data contained in what is called the parametric record, called "Lighting Device" Penultimately, however you identify the information you want to export/import, the actual work will be done by exporting and importing text files, either tab/comma delimited files or XML files. Forget about calls to Spotlight menu commands. One work around, might be creating a custom report and then using the export worksheet command to create a tab delimited file. Lastly, Pat is correct I have written commands that export/import Lighting Device information. They were designed to work with Lightwright 4, before the advent of data exchange, but they just write and read text files. If you end up looking into AutoPlot, feel free to ask me questions. If you want to learn programming just for this task, you have something of a learning curve; as to whether it is steep or long or both is to be determined. If you are new to programming, you will need to learn about "handles", "variable scope", flow of control, variable and static variable procedure parameters, and a host of other things. As a ray of light here, I can tell you that Andy Dunning taught himself to program after teaming up with master Vectorscripter, Gerard Jonker to write video screen tool, he continued to write a bunch of cool stuff, much of which has been incorporated in VW.
  14. In vectroscript, you can create tab delimited text files with any of the information you describe. Open(filename); PutFile(prompt, defaultfilename, filename) Write Writeln I'm sure there are Python calls to those commands
  15. You will need to make symbol(s) and attach a record to them. The record will be made up of fields that hold the information you want to display. In each symbol, you will need to place text objects located where you want your information to display. Each text object can be connected to a field in the record that is attached to the symbol, so that it displays the value in the record field of the placed symbol instance. You will need to use the "Link Text to Record..." command under the Modify menu to do this. You can get away with just one symbol for everything if you have a record field that identifies the object and is displayed in the symbol. HTH. Sam