几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】odgigeometrysimplifier - dimensions (http://www.dimcax.com/hust/showthread.php?t=17703)

yang686526 2009-05-06 08:47 PM

【转帖】odgigeometrysimplifier - dimensions
 
odgigeometrysimplifier - dimensions
odgigeometrysimplifier - dimensions
hi
is there a way for somehow getting dimensions before they will breaked into simpler entities. i am working at the application that clients do not want vectorized dimenison (dimension exploded into simpler entities) from layout, they want dimension as dimension's entity.
is there any functions for override from odgigeometrysimplifier that can handle this my problem ?
best regards
ervin
you can override odgigeometry (odgibasevectorizer)
void draw(const odgidrawable* pdrawable);
if the drawable is dimension - do not call draw() of base class.
sergey slezkin
hello sergey
i checked your proposal, (with function void exsimpleview::draw(const odgidrawable* pdrawable)) and it works, but, it works for hole model space, for hole elements from model space. my request is that i wish elements from view, elements which are visible at the view which was created at one of the layouts.
another question is, how can i handle border lines (rectangle) about view. after every vectorize's process i have border about that view which i was vectorized. how can i disable that rectangle ? - i do not want that rectangle.
another question for function exsimpleview::draw(const odgidrawable* pdrawable) is: can you please tell me algorithm for mapping coordinates for position, and also scaling factors for elements between elements in model space and returnde values which i can get in function exsimpleview::draw.
when i was getting values for position and location, it is not same values as it is in model space.
regards
ervin


所有的时间均为北京时间。 现在的时间是 04:47 AM.