zootycoon2

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: How to get Sketch Point object of Sketch Segment End Points?


Veteran Member

Status: Offline
Posts: 72
Date:
How to get Sketch Point object of Sketch Segment End Points?
Permalink   
 


HI,

 I'm working on a macro that is meant to insert a line segment and then add relations to the line endpoints.So I create a sketch segment with: My goal is to then get the .Sketch Point objects for both endpoints of the line segment.I know I Sketch Arc has a  method that does what I'm looking for, the problem is though that I have a Sketch Segment object not a Sketch Arc object can't believe there is not a similar method for Sketch Segment objects.I'm trying to avoid using Select, because even though I know the xyz location of the endpoints, there is also another sketch point at the same exact location of the endpoints. I'm actually trying to get the endpoints to have coincident relations with those. Any help ?

Please help.

Thanks!

I didn't find the right solution from the Internet.

References: https://forum.solidworks.com/thread/210939

 

brand storytelling examples 



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard