Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by WhoCanDo

  1. Hi Aleixo, Have you tried page setup? The horizontal should be set to 1 and the vertical to 1. Printer setup will offer you the Scaling option to fit it onto the page perimeter you choose.
  2. Looks good Ivaylo, I can see that when your 'Export Worksheet' appears, it has the name of the active/open worksheet, and I can't wait to try it. This WS name change for export is not happening in SP1 - maybe another bug fixed in SP2. I'll be happy that the problem is resolved if VW remembers the settings as default after closing and re-starting. Otherwise, VW has a whole heap of WS procedure like ShowWSDialog, etc. and many more new ones to expand upon functionality, if there are many people exporting, and that's the reason for the latest additions to the menu, then why not make a procedure like .... WSExport (Worksheet name, Format : string, Range All, Recalc, Open Viewer : boolean); to replace the show WS, export WS and close WS.
  3. Thanks Nina, Thanks Ivaylo, I'll let you know when the update is available in Australia to test.
  4. After using VW2021 for a while, I suddenly noticed that the export menu is not exporting the data I am asking for. In VW2020 this worked but VW2021 has an additional feature to overcome. Response := StrDialog ('Search Data filename:', Concat (SearchDataPath, FName)); ShowWS (GetObject ('Search Data'), True); DoMenuTextByName ('Export Worksheet', 0); ShowWS (GetObject ('Search Data'), False); The above code works for VW2020 and all we do is save the file in a folder with a file name "Response". This is repeated for various worksheets. Now we have the following which will not only remember the ticks (fix happening in SP2 hopefully) but also has the worksheet drop list and always defaults to "Banding Cutting List". Can anyone suggest any further solutions or is it just a matter of hounding VW to create the procedure WSExport (WSName : string; Tab, All Rows, Recalc, Open : boolean) or similar ? Regards
  5. How did we get from the just released SP0 to SP2 so quickly? I'm ready 😃
  6. Hi, We have skipped from VW2019 to VW2021 so I don't know what happened in between, however can someone help with the following please. We have a number of worksheets that need to be exported to a tab delimited .txt file. VW2019 allows us to do this with DoMenuTextByName ('Export Worksheet', 0); VW2019 does not have the option to automatically open them in the default view so it's quick and easy. However, VW2021 has a tick box that defaults to "Open file in default viewer". We don't want to view the file after export. It is only for data collection. How can we DoMenuTextByName ('Export Worksheet', 0); without the file opening? The .TAB file type is remembered in the stationary sheet, or last used, but the tick box continues to default to SELLECTED. Also there doesn't seem to be an WSExport (WSName : string; Tab, All Rows, Recalc, Open : boolean), procedure or function yet, which would be idea with the improvement of the export options. Regards
  7. I started with that theory Pat but it didn't work, resulting in my question and fabulous answer from Raymond. Regards
  8. Nice one Raymond, If it can be done the long way, I wonder why VW doesn't have a GetConstrain function? Thanks again 😉
  9. Hi, SetConstrain will set the constrains, but how do I get the constrains before I change them so I can return them to the user's preferences afterward? Basically, I want to turn Q on and off but not change any other constrain. Regards
  10. It's the graphics card on the motherboard on my Acer laptop. Even though VW2020 works fantastically, Enscape advised me that they only support the popular graphics cards. No problem, I'll just have to check out Enscape at work with the NVIDIA GeForce RTX2070
  11. I have questioned Enscape directly and my bug report sent to them says that I have an incompatible graphics card 😔 Thanks for everyones attention and feedback 🙂
  12. Can someone attach a file that they know works with Enscape please? I just want to exclude my file errors, if any, from the equation.
  13. Thanks but tried all the perspective views. It didn't work ☹️
  14. Thanks R, This definitely shows a bug with my end somewhere. The video says load the third party plugins. No problem there. I get the Enscape menu and when I click on the Enscape button, I get the three mode options in the mode bar. However, when I click the Enscape button, the video shows Enscape loading. On my VW I get the message above. This is where I stop, even though I have this 3D object selected. Where do I go from here?
  15. Can someone give me a hint to using Enscape please. I installed the beta version on VW2020 3.1 Architect and drew a quick 3D chair. Looking at it in left isometric and then choosing Enscape, I get .... What step am I missing?
  16. After hours of trying different variations, I've got it. For Windows users, in the Plug-ins folder, create a folder yourname.vwr It's not a zip file renamed or anything special. It's just a folder with an extension "vwr". Put your png file/s into the folder. This is the correct format CreateImageControl2 (GateADialog1, 4, 346, 476, 'Gates/GateA.png'); with the Gates.vwr folder in the Plug-ins folder and the GateA.png file inside the Gates.vwr folder. If everything is correct in your code, naming the folder, and adding png file and you still get a red-"X", try restarting VW2020 Thanks to Julian for pushing me in the right direction 🙂 Regards
  17. Great start Julian, I am getting a big red cross though. The png file I made was 32 bit 346 x 476 pixels. I used windows "send to compressed file" and changed the file name to Gates.vwr and moved it to the "Plug-ins" folder. procedure CreateGateAPopUpLayout; begin GateADialog1 := CreateLayout ('Component Data', False, 'OK', 'Cancel'); CreateImageControl2 (GateADialog1, 4, 346, 476, 'Gates/GateA.png'); CreateStaticText (GateADialog1, 5, 'Height:', 15); SetFirstLayoutItem (GateADialog1, 4); SetBelowItem (GateADialog1, 4, 5, 0, -50); end; Should be: Result:
  18. I am trying to emulate a layout that I have created in Excel. Excel allow a layout to have a background image on which I have positioned CreateStaticText, CreatePullDownMenu, CreateEditText, etc. A more accurate explanation is that I want a layout with a background image of a gate and position data entry boxes around to ask the operator width, height, hinge location, etc. Can there be an image background in CreateLayout ?
  19. I'm still not understanding your intention, but I'm guessing the following. Draw a rectangle and leave it selected. Run the macro and the elastic band will determine X and the location of the new rectangle. procedure Stretch_and_Move; var pt1, pt2 : vector; wth, ht : real; begin if (Count (Sel = True) = 1) then begin pt1.x := LeftBoundN (Sel = True); pt1.y := TopBoundN (Sel = True); wth := Width (Sel = True); ht := Height (Sel = True); DSelectAll; GetPtL (pt1.x, pt1.y, pt2.x, pt2.y); RectangleN (pt2.x, pt2.y, 1, 0, pt2.x - pt1.x, -Abs (ht)); end; end; run (Stretch_and_Move);
  20. We use some of the spring tools in VW. All of them define the Left spring incorrectly as Right and Right as Left. At first I thought we were wrong but research on the net from spring manufacturers indicate that we are correct. When you look at a spring from the side, you will see the twist rising to the left when the spring is a Left, and rising to the right when the spring is Right. In this attached picture you can see this on the left hand half, and on the right hand half is VW's left spring, which is a right. Can this minor change be made at some time please? Thanks.
  21. Thanks Antonio, I'll have a go using your suggestion, but unfortunately I don't have the time at the moment. Without the time to do this, I resorted to the inbuilt search option that doesn't work for me, even though the list of ifc records are listed. Maybe this is a bug that needs to be reported or maybe I'm using it incorrectly. Regards
  22. Thanks Pat, I knew you'd enjoy the challenge. The attached drawing (vw2020 because it wouldn't import in vw2019) has one of the components from an imported .ifc drawing from our client. After importing the vary complex drawing, I wanted to move various components to other layers so I could work with them. I found that I couldn't "Custom Selection" "Field Value" "Tekla Bolt" "Bolt Name". This maybe because, even though these categories list in "Custom Selection", if you look at the Object Info, it's actually a sub-catagory of ifcMechanicalFastener, which is ignored by "Custom Selection". What do you think? Untitled1.vwx
  23. "Insert Column" inserts a column to the left of the referenced column. I would like to see "Add Column" to add a column to the right of the last column. At the moment, adding a column after the A - J range would add a new J and rename J to K. Then I will have to copy all the K formulas back to J and clear K.
  24. Can we know what your end result might be? Why are you needing this? It gives a direction to work in. Do you want the original to grow, or do you want a duplicate each time it grows?
  25. No luck. 'Tekla Bolt.Bolt Name' didn't work either. The record 'Tekla Bolt' does exist with the field line 'Bolt Name' but this record is not attached to the object. I'm trying to select the Bolt Name from the ifc record. Any other ideas?
  • Create New...