Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

GSD - Intersection multi result to be as shown as individual entities

Status
Not open for further replies.

Maddy02

Mechanical
Feb 14, 2013
114
IN
Hi Guys,

Could somebody help me on this.

I working on to create a line or point (intersection result) between two surfaces and curves.
If both intersects at one place then there is no issue, but if they intersect at more than one location then
i need the result to be created one after other in tree. Like if the intersection results in 6 lines or points then
in tree i need lines or points one by one in serial arrangement.
Point1, point2, point3, point4, point5, point6 or Line1, line2, line3, line4, line5, line6

by deafault it creates all of them as single entity.

Regards,
Maddy

Regards,
Maddy

 
Replies continue below

Recommended for you

yes, i can use but that will remove the associativity between elements,
and these points will not be associative with parent curves at all.

but the points is if the curve shape changes then these points has
to get adjusted themselves.

Regards,
Maddy

 
But how it can be done through macro catvba or catscript?

Regards,
Maddy

 
Hi ferdo,

Anything on getting the result through automation on this..?

Regards,
Maddy

 
Hey,
Try to repeat intersect command for 6 times. Each time select "keep only one subelement using Near" and select a vertex of one of the intesecting element. you will get all 6 interesects as separate Near features but with the link established to the intersect. But be careful, if the intersect fails in next update due to modifications, the Near feature will get modify or fail as it may not be able to find the intersect. Hope it helps you.
 
Hi rollicker

Thanks for reply,

Ya that's what I've been trying to do through Macro (VBA) and got stuck up in "selecting a vertex of one of the intersecting element".
How to select it through code... as i'm not getting any idea on how to select the vertices one by one once i create the intersect.


Regards,
Maddy

 
Maddy, It is a complex problem. I cant tell you that using near in the macro is the best solution I know of. the thing is near what? it depends on what you know. if the sin plane is known, relating the near with a mathematical expression of the plane could help. if not, maybe you can relate it to elements close to the expected result. unfortunately, the example I have done in class is much easier that what you have. we related it to the x, y or z axis.

I apologize for not giving you a straight answer but I hope this will guide you in the right direction.
 
Hi,

@ ferdo,
No issue, Thanks you for your time and thought on this, hope to hear something to go ahead..

@supergee

Hi, Thanks for your kind suggestion, yes i do ware about what near is the
proper solution as well as extract, providing the reference to create 1st point as near is OK, but
to create 2nd point as near, i need to pass the 2nd vertex of intersect as reference,
but finding and fetching this point and succeeding ones to pass as reference is where the problem lies.

All i have is a curve and a surface as inputs.




Regards,
Maddy

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top