Jump to content

WhoCanDo

Member
  • Posts

    435
  • Joined

  • Last visited

Everything posted by WhoCanDo

  1. Hi, I want to find what objects are within a 2D polygon region. Currently I pick a polygon and duplicate it with h2=MakePolygon(h) then name it with SetName(h2,'tmp'). After this I will: ForEachObject (Check_for_X,((Loc = 'Tmp') & (T = X))); if (h2 <> Nil) then DelObject(h2); This works well but when I have two polygons grouped that represent the final product I can't use MakePolygon. Any suggestions on how to create a tmp polygon profiling the perimeter of the final product?
  2. Yes but I can see that you are getting a different result. I have repeated what I do on your Pipes.vwx drawing and I get what you get so there must be some settings retained by your drawing that I need to change. I'll keep fiddling for a while.
  3. I usually draw pipe with extruded circles and sweeps for corners but I thought I would try something different. Simply, I used the 3D polygon tool to draw a right angle and the 2D fillet, set for 140R, to fillet the corner. I tried both a 2D circle and Nurbs Circle and Extrude Along Path. I used a 21.2 radius. The 2D circle makes the fillet corner into 3 segments and is not a smooth radius. The Nurbs Circle does something weird at the corners. Can anyone suggest another option to create a bent pipe using Extrude Along Path or do I have to use the manual method to get the best look?
  4. One small problem. This works when the object is extruded but doesn't work when the object is created using the 3D Polygon tool. Lets say I have a similar angle problem as above but I only have angles either side and not the angle itself. The angles either side are also at different angles? so I was planning on filling in the back of the missing angle with a 3D Polygon and using bcd's method to set the working plan and then draw the 3D missing angle but the working plane tool does not pick the 3D Polygon. You can see I don't do much more than simple 3D so this one is a challenge for me at the moment. Any more suggestions?
  5. I have created a 3D angle 125 high and 75 wide. In top view I am looking at the top of the back of the 125 and I can see the 75 flange at the bottom. I rotate the angle -43.4? From the front view I rotate the angle 19? Looking at the top view again you should see a leaning angle at -45? or 135? depending on your point of view. Keeping in mind that I may not know the method above used to create the end result how do I set the working plane to be the angles back face?
  6. A little more help please. I have replaced the first "repeat until" with a GetPt because I want to be able to pick an existing object to align this new object with. The problem is that GetMouse turns off snapping opitons. Is there another way to do the following? procedure Get_Placement; var h1, h2 :Handle; x1, y1, x2, y2 : real; AngleOfPt2, LastPt2Ang : real; V : vector; begin GetPt ( x1, y1); moveto (x1, y1); closepoly; poly (60, #90, 580, #0, 60, #-90); LastPt2Ang := 0; repeat GetMouse (x2, y2); V.x := x2 - x1; V.y := y2 - y1; AngleOfPt2 := Vec2Ang (V); RotatePoint (x1, y1, AngleOfPt2 - LastPt2Ang); { rotate by delta angle } LastPt2Ang := AngleOfPt2; Redraw; until (MouseDown (x2, y2)); end; run (Get_Placement);
  7. Thanks Raymond, I didn't know I was so close. I've not used vectors before so I will have to study it more. Love the first macro. Regards
  8. I want to create an object: repeat if (MouseDown(x1, y1)) then begin moveto(x1, y1); x2 := x1 + 580; y2 := y1; closepoly; poly (30,#90,x2,#0,30,#-90); h := lnewobj; end; until (h <> Nil); and after h := lnewobj; I want to pick the object and free rotate it with the mouse around x1,y1 until I pick a second point with the mouse. I've tried repeat getmouse (x3, y3); rotatepoint (x1, y1, AngleOfRotation); redraw; until (MouseDown (x3, y3)); but I think I am on the wrong track. Any suggestions please?
  9. Sorry to let this slide for such a long time. I get busy spells. When creating a worksheet and adding Database line and formula such as =('Record Name'.'Field Name') I would normally turn the database headers off. After adding serveral database lines to the worksheet and then adding the records to the objects on the drawings you can "Recalculate" the database. All objects on the drawing with records will list and the database lines that don't have records recorded on drawing objects are invisable (don't list). These empty (invisable) lines are made visable when exporting to .dwg which is not correct. Only the visable line items should export. When I have a worksheet that includes 20 database lines but only one record is used, the result shows a number of items on the drawing with different lengths & widths on different lines correctly. After export the line items appear as well as the other 19 unused (normally hidden) database lines. SP1 didn't allow metafile export and import to get around this but SP2 does. However this is not the solution to the problem. If anyone else can emulate the problem then I can report it as a bug to VW.
  10. Ozzie, I have now downloaded a fresh update and realised that my previous download is only half the size of the new one so I must have somehow lost some during copying ??? Thanks for the suggestion.
  11. I have used the same installation download on XP & Win'7 but on Win'7 the installer won't even run except for an hour-glass for a few seconds. Has anyone else installed on Win'7 ?
  12. Much appreciated ccroft. I'll try that. Thanks.
  13. I'm not totally clear on what you guys are arguing about or what you are actually saying (95017 ????) but has anyone answered my question yet? All I am asking VW to do is pick the double line tool, show the setup window and then let me use the tool as normal. I am guessing from above that you can't do this so utilising your expert VW skills instead of your expert arguing skills can someone give me a suggestion (without being rude). Maybe this should not be a tool type?
  14. 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);
  15. 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?
  16. 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.
  17. 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.
  18. 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.
  19. 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?
  20. Do the quick keys ctrl-F6 or ctrl-Tab work?
  21. 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.
  22. 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
  23. I've already let them know that the 2010 help is called 2009 if there listening.
  24. 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.
×
×
  • Create New...