Jump to content

John Gr

Member
  • Posts

    31
  • Joined

  • Last visited

Posts posted by John Gr

  1. Hi there

    I have developed a number of scripts using custom dialogs with the dialog builder in VW 2008.

    Have now upgraded to VW2013 the scripts wont run the dialogs.

    I have noticed that some of the Function have been superseded.

    I can modify my scripts but really would like the _DialogBuilderUtilities.px update.

    Can someone help me.

    John Greaney

    Auckland

    New Zealand.

  2. Hi there Guys

    Thanks for your replies.

    I will try the code you have posted.

    I have added the file that contains the data i require.

    The data is at the end of the file. the last 2 lines.

    The data contains fixing details for a particular truss. GT1.

    Thanks Again

    John Greaney

  3. H there

    i am in the process of creating a script that would access an external data file.

    The data file uses a comma deliminator format.

    I would like to READ this data into VW script.

    As far i can see VW only uses a TAB deliminator.

    Any ideas...

    cheers

    John Greaney

    Win Vista

    2008

  4. Hi there

    Could someone please help me.

    I have used the CreateWSImage() in a plugin.

    The PIO allows me to select a Worksheet from a list in the object browser. Works really well but ..........

    If i have more than one of these PIO within the same document the PIO displays a blank. The PIO will also show blank even if the WS Image has been placed Manually.

    So it looks as if CreateWSImage() will only place 1 worksheet image within a file.

    Does anyone have a solution so i can display more than one instance within the same document.

    Thanks

    John Greaney

    Win Vista 2008

  5. Hi there Justin

    This is John Greaney.

    I have read your posting above and thought I had better touch base with you.

    I am a Contract Detailer involved with the precut prenail industry.

    Over the last few years I have developed a number of PIOs for the aid of detailing roof framing components.

    Auckland's largest Precut Company using my software to produce all of there balance of roof. Rafters beams soffit/eaves framing. ( 13 Seats )

    I also have created a number of PIO for the use in Architectural work that you would probably be interested in. I also use the Custom objects a lot.

    I would also like to learn more about the method of utilising the more advanced Dialogs.

    cheers

    John Greaney

    09 4433512

    021 743573

    jgreaney@orcon.net.nz

    VW2008 VW2009

    Win Vista

  6. Hi there

    I have a number of Linear PIOs I have created. I have noticed that if a user accidently double clicks instead of Dragging a line the plugin is not displayed. The control points are highlighted and the fields are visible in the Object Info Browser with the default values but the Symbol has not generated. Once you desellect the PIO it is then invisible. If I change a Feild in the OI browser the Object is then generated.

    I have noticed that that VW Rafter tool doesnt do the above but the Insulation Tool does.

    I have been doing a select all then nudging left then right to regenate All Plugins to Make these PIO visible.

    JOHN

  7. Yeah :-}

    Soooo Simple....

    Very Simple answer to my original posting.

    create a handle to the plugin using GetObject.

    Use setRfield to set preferences.

    BorSLH := GetObject('jg-BOR SL~'); { Handle to Plugin Object }

    .......................

    ........................

    ...........................

    default := concat(Num2Str(2,str2Num(pitch[k])));

    Entry := StrDialog('Enter Pitch',default);

    if didCancel then GOTO 100;

    SetRField(BorSLH, GetName(BorSLH),'Roof Pitch',concat(Entry));

    { Object Preference set from entry StrDialog on current Document }

  8. Hi there

    I created the Roof Truss PIO posted on Vector Depot a few years ago as a tester to see if there was an interest in VW users having the ability place trusses onto there drawings.

    I had limited feedback so i didnt carry on with the development.

    I have read a few posting from a while ago.

    Is there an interest out there now?

    Are you using my Truss PIO in your drawings?

    What features would you recomend?

    Would you be prepared to pay for a complete Truss Package?

    I am keen to hear what you would consider useful PIOs to inprove you workflow.

    What other PIOs would you like?

    Any Feedback appreciated.

    • Like 1
  9. Hi Pat

    Thanks for your posting.

    My aim is to edit the default Object Proprties values stored on a templet i have opened.

    You may know that the last values are saved in a document using the Object Properties Dialog.

    To view the record names in a documnet open a blank templet then create a report. (These records remain even if all of the Objects are deleted from the curent document.)

    Select 'list all objects with records'.

    You will see a list of PIO records that have been placed on that saved Document in the passed.

    I would like to be able to have access to those values stored in these records and to have the ability to change their values.

    I have developed a script that imports values from a roof truss layout and design program and sets up a new VW drawing. Title block info etc.

    There is abaout 5 PIOs that i have created to finish off a truss layout and that produces cutting sheets for ( Balance of Roof )rafters, cut soffit members, valley boards, Beams etc.

    When i select the say rafter PIO it will already have the Pitch, timber species, grade, treatment, etc. vrs setting values in the Object Properties Dialog before object is placed on drawing.

    I hope this makes sense. I am not the best at explaining things.

    Cheers John Greaney

    ( Note: The Record is created when you first place a new PIO on a drawing. The Object Properties dialog box is shown. )

  10. Hi there

    I am wanting to write a script that can setup a whole group of PIO with the defalts i enter. The PIOs are roof framing members. I would like to set the defaults for timber treatment, roof pitch, timber sizes, soffit overhangs, etc. etc.

    Currently i do the above from the tool bar on each object.

  11. Hi there

    Is it possible to edit PIO Parameter values attached to a Document using script.

    I would like to be able to set default PIO values to a number of PIOs using a script and to delete old PIO records stored in a document.

    At the moment before i place a PIO onto a design layer i edit the parameter values manually from the tool bar.

    John

    BTW -- Havent sorted Parameter sort order yet.

  12. Could someone from Nemetschek please have a look at the situation i am experiencing with the problems with the vectorscript editor.... See my last posting.

    I dont no where to go from here.

    I have submited the Bug to 'bugsubmit@nemetschek.net' 08/02/08 and have not had any reply.

    Is this the right route to follow or is there another way.

    HELP.

  13. I have been having a lot of problems with the vectorscript editor.

    The Parameters Order Column is not showing a Proper sequence of numbers.

    The Numbering starts at 1 then 13, 14, 15, 16 ......... on all PIOs.

    When i try to drag and drop the Parameter order Vectorworks crashes or displays blank and random values in the Editor.

    If i run the PIO i get an error the saying there are Parameters missing.

    This Problem also occurred in Version 12.0.

    In version 12.0 I could add parameters to a PIO but couldn?t change the order else I would have the same results as now.

    I have been using VW2008 for the last couple of months without this problem thinking that the bug had been removed.

    I have been doing a lot of development lately and this has stopped me in my tracks.

    Application Version:2008 SP2 (Build 83388)

    Win XP

  14. Thanks for your reply

    When I go into page setup and then select printer setup. Select the printer and paper size. Select OK. If I enter value into Hor/Ver the fields clear themselves. Now when I select OK from the Page setup box and select the print command nothing happens. The print spooler does not indicate any document to print. This is not the case when I select another printer.

    John

    Printer: Canon BJC5500

  15. Hi there listers.

    I was wondering if someone could help my with VW12 not printing on my Canon BJC5500.

    It looks as VW does not reconise my printer. I can print onto other printers of mine just not the Canon.

    I have not experienced this before with older versions.

    VW12

    Win XP

    AMD 3000

    1GB Ram

    JOHN GREANEY

×
×
  • Create New...