Jump to content

WhoCanDo

Member
  • Posts

    446
  • Joined

  • Last visited

Everything posted by WhoCanDo

  1. This simple macro, which makes it easier for me to draw parallel lines throughout the day, works as a macro in Vectorscript Palettes but does not work properly as a tool. 1. I want the StrDialog question before the tool activates. Why in Vectorscript Palettes does the StrDialog activate first but as a tool it activates after the first point is selected? 2. Hovering over an object vertex and then moving away shows extension lines. In the Vectorscript Palettes if the mouse moves slightly off the extension line and then pick a point, the picked point is actually along the extension line (ie. correct). Why doesn't a tool work in the same way? Picking a point slightly away from the extension line with the tool actually picks the point under the cursor. How can I resolve these problems? procedure Parallel_Line_Tool; var Line_Separation : real; begin Line_Separation := GetDLSeparation; Line_Separation := Str2Num (StrDialog ('Spacing?',Num2StrF (Line_Separation))); SetDLOptions (0); SetDLSeparation (Line_Separation); CallTool (-216); end; run (Parallel_Line_Tool);
  2. Kool Aid, I have AutoCad 2006 and it opens as many files as I have tried with only one instance of the program running. You can batch print because you have something other than the Fundementals version that I have. I cannot justify a version change at this time. Ray, Each tile has a class number. Each tile that is similar has the same class number and each tile that is different has an individual number. I draw on layers so class visablity is not currently in use. I have tried Viewports but the only reasonable way of detailing the tiles is to copy and past them to another drawing. Duplicating any tile in the same drawing will double the data (ie weight, qty, etc) attached to the panel so detailing the panel in the same drawing does not seem feasible. I would normally only have two drawings open at a time during this process since I will save the detail sheet as another drawing name before pasting another tile for dimensioning. Only after all the tiles a detailled will I open the detail sheets to print them all. Do you have a different method in mind?
  3. I draw flooring tiles (to put it simply) that fit around machinery and structural steel. Each tile is dimensioned individually on a separate sheet and needs to be printed.
  4. Worksheets still export expanded (ie. hidden & unused lines) in VW2010 SP2 ! I can't be the only one exporting worksheets can I ? At least metafiles are now working in SP2.
  5. If you read the licence agreement in VW2010, section 1.4 (b) & © you may find a solution. On a network two VW's with the same VW licence number won't work at the same time but will work one at a time. You must comply with the licence agreement.
  6. After all this time with no responses I would guess that no one else has the problem or does anyone export their worksheets that include database line items?
  7. Do the quick keys ctrl-F6 or ctrl-Tab work?
  8. I'm like you so check out the bottom post of the following link: http://techboard.nemetschek.net/ubbthreads/ubbthreads.php?ubb=showflat&Number=131057&Searchpage=1&Main=26988&Words=WhoCanDo&Search=true#Post131057 I created this as a tool and it works well.
  9. Some of my fills weren't printing until I switch "Print patterns at on screen resolution" on in the print menu. VW seems to have changed in VW2010
  10. I've already let them know that the 2010 help is called 2009 if there listening.
  11. I would like to see VW catch up with AutoCad, Adobe and other software that opens many more files at any one time. I often want to print 50 to 60 drawings at one time and at the moment I have to count in eights to acheive this. If it's a difficult thing for VW to do then opening 10 at a time would be easier to count than eight.
  12. I find that scale objects works best after selecting all and changing symbol to group since symbols won't scale and many drawings I receive have symbol components.
  13. What are obsolete functions if they still work. eg. DoubLines is obsolete after VW12.5 but it still works in VW2010 If VW takes the time to mark a function obsolete then why don't they add a cross reference to the replacement function? eg. What is the replacement function for DoubLine?
  14. This is what I have so far if anyone else wants it.. procedure Layer_Visability; label 1, 2; const DialogWidth = 300; DialogTextBoxHeight = 30; var WorkLayer : string; i, Event, ItemID, LayerCount : integer; sx1, sy1, sx2, sy2 : real; dx1, dy1, dx2, dy2 : real; h : handle; LayerName : array [1..100] of string; begin { Record all layer names } LayerCount := NumLayers; h := FLayer; LayerName [LayerCount] := GetLName (h); for i := LayerCount -1 downto 1 do begin h := NextLayer (h); LayerName := GetLName (h); end; { Create Dialog } GetScreen (sx1, sy1, sx2, sy2); dx1 := sx2 / 2 - DialogWidth / 2; dy1 := sy2 / 2 - (LayerCount / 2 + 5) * DialogTextBoxHeight; dx2 := dx1 + DialogWidth; dy2 := sy2 / 2 + (LayerCount / 2) * DialogTextBoxHeight; if (dy1 < 0) then { if the dialog box is too long } Goto 1; { Begin Dialog } BeginDialog (1, 1, dx1, dy1, dx2, dy2); AddButton ('OK', 1, 1, (dx2 - dx1) / 2 - 102, dy2 - dy1 - 45, (dx2 - dx1) / 2 - 34, dy2 - dy1 - 15); AddButton ('Cancel', 2, 1, (dx2 - dx1) / 2 + 34, dy2 - dy1 - 45, (dx2 - dx1) / 2 + 102, dy2 - dy1 - 15); AddField ('LAYER VISABILITY', 3, 1, (dx2 - dx1) / 2 - 70, DialogTextBoxHeight, (dx2 - dx1) / 2 + 70, DialogTextBoxHeight * 2); AddField ('Choose layers to be unsnapable.', 4, 1, 20, DialogTextBoxHeight * 2, DialogWidth - 20, DialogTextBoxHeight * 3); ItemID := 4; for i := 1 to LayerCount do begin ItemID := ItemID + 1; AddButton (LayerName , ItemID, 2, 40, DialogTextBoxHeight * (ItemID - 2), DialogWidth - 20, DialogTextBoxHeight * (ItemID - 1)); end; EndDialog; { Start Dialog } GetDialog (1); repeat DialogEvent (Event); if (Event > 4) then SetItem (Event, not (ItemSel (Event))); until (Event = 1) or (Event = 2); { OK or Cancel } WorkLayer := GetLName (Actlayer); { Change selected events } if (Event = 1) then { OK } begin for i := 5 to LayerCount + 4 do if (ItemSel (i) = True) then begin Layer (LayerName [i - 4]); DoMenuTextByName ('Standard Views', 2); end else begin Layer (LayerName [i - 4]); DoMenuTextByName ('Standard Views', 1); end end; { End Dialog } ClrDialog; { Return to working layer } Layer (WorkLayer); ReDrawAll; Goto 2; 1: AlertCritical ('Too many layers.', 'A second column may be necessary.'); 2: end; run (Layer_Visability);
  15. Thanks Ray, but I want multiple layers unpickable so a macro will be the best for me instead of going to each layer and changing it to top view.
  16. Sorry, this didn't work the first time but it does now: DoMenuTextByName ('Standard Views',2); Thanks
  17. Great, I didn't think of that. So after a quick look though the VS help I cannont find a procedure to change layer current view. Is there a command I can write a macro with?
  18. Thanks Mike, I do mean unsnappable. My current approach to this is to make scale of the layers I want to see but not snap to 0.0001 greater so they don't appear different but dissables snapping. This means I can work on and snap to the other 4 or 5 layers without accidently picking up the snap points on the support layers.
  19. I would like to see greyed made unpickable or another layer option to do this. I am often workings on multiple layers and want to see support or design layers but not be able to pick things on them. One example is when I have a floor outline that I wish to manufacture in smaller segments. I need to know where the support structure is and work on the other layers without selecting objects on the support layer.
  20. I would not have thought that a macro starting when opening a drawing if it is called "procedure AutoOpen;" would be related to a command line opperation. In Excel, a macro called "Sub Workbook_Open()" is executed without question if it exists.
  21. I would like to see an AutoOpen macro procedure that starts automatically when a drawing is first opened. There are some things I have always wanted to set when I start a drawing that don't save when creating a template sheet. My drawings nearly always start with a title block macro so why not auto start it. If the title block exists then the macro code can check first before running and end if not required. Excel has one so why doesn't VW?
  22. Not here either. I always print from VW. What other method are you refering too brudgers? If I print this drawing to a pdf printer (I don't have pdf export) it takes just as long since it is the VW spooling that creates the time waste.
  23. I've tried several combinations before and just tried some again. With all unchecked it takes 48 sec to spool. With raster/left checked it takes 15 sec but the layer that I need that is obviously causing the problem is not printed and the rest of the drawing is washed out but readable. I think I will have to try a workaround. Since the layer with the dotted lines is full of lines well outside of the print area (if the layer scale is smale) then maybe I could try and get my formatting macro to drawn only the lines I need to see. I guess this one is now in the hands of VW to undo what they did between VW2009 SP4 and VW2010 inc SP1 Regards
  24. I only have Fundementals which doesn't come with pdf export so I have always used pdf995 as a printer. If there are no other suggestions then you should try this. I have had no problems with line weights, etc. If you don't buy it then it finishes with an add which, if you hit esc., will disappear. You get use to it. It's really cheap if you do want to buy it. The full suite allows you to combine printed pages into one file on the go and you can edit pages out of the file again if you wish. www.pdf995.com
  25. VW2010 print dialog has changed. VW2009 had Enable special processing for bitmaps Print patterns Rasterize print output all of which I have unchecked and VW2010 has Print patters - unchecked Rasterize print output - unchecked Update visable - checked Reset plugins - checked but checking Rasterize makes printing quicker but not a good quality
×
×
  • Create New...