Submitted by Manirahu on Tue, 02/18/2014 - 08:47
Forums:
I need a VB.net programme to extract XYZ point coordinates of some points in the model (that is like hole/Flange/Pipe starting)and it should be displayed as point table in the drafting.column of x,y,z in (inches) and the respective "mm" value in the same cell below that Inch value.Very important is that it should ask for reference coordinate system point initially from where these coordinates should be referenced.And it should be editable.We usually do this manually for more than 40 points.Thanks in advance!!
re: point coordinates table
What steps do you take to manually create these tables? Is the resulting coordinate information associative? What version of NX are you using?
Take a look at this thread over on eng-tips:
http://www.eng-tips.com/viewthread.cfm?qid=336107
None of the code in the thread does exactly what you want, but some of may be pretty close (especially the last post by FrankSwinks). If this is close to what you want, it may be a good starting point.
Point Coordinates table
Nx journaling First of all thanks for your quick response.Here my reply follows,
I will go to modeling there i will select information>point>selecting the point and copy the xyz coordinates and paste in a excel.Then i will import the excel as tabular Note.But the help what i need is to select needed points in the modeling and in drafting it should keep a table with these points coordinates.It should be associative.The forum where FrankSwinks posted is to extracting point information in the drafting but what i need is it should be linked with the modeling.
I am using NX7.5 and the resulting coordinates should be associative.
re: point table
Keeping the values associative is the difficult part. You might try psiwak's suggestion as found at:
http://www.eng-tips.com/viewthread.cfm?qid=217471
in the post with the timestamp of: 24 May 08 6:41
The good news is, this method is associative; the bad news is, the table doesn't update automatically. But, if this strategy works, perhaps we can automate the table creation with a journal.
NX9 added some functionality (measure point) that would really help out in this situation. However, I don't see a clear path to a fully associative point table in NX 7.5...
Pointset extraction
Actually there are two pointsets.I need to put in the drafting sheet.Each point set have around 25 points.I need to keep expression name as (s_1_r to s_25_r) & (s_1_theta to s_25_theta)&(s_1_z to s_25_z) for each points r,theta and Z.So that i will link the expressions to the table which i am placing in the Drafting sheet.Is it possible i think it is possible.Simple as simple i need separate identity and expression parameters for each point in a pointset.
re: pointset extraction
Can you create a small sample file that is representative of the data you start with and the desired output table? I think that would be the fastest way to clear up a number of questions. Please email it to info@nxjournaling.com
Thank you.