cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

jlink get mouse selected table. Fix index on table cell

Highlighted
Newbie

jlink get mouse selected table. Fix index on table cell

I'm able to get tables and walk through all the cell values on all the
drawings tables but I think that I'm missing something.

I want the user to select a table with the mouse. Then go to my menu and
have J-link get the selected table. Then I can take the information on that
table directly without having to figure out if that table is the table I
want.

Anyone know how?

How about this other issue. When I have a selected/gotten table. If the
table is a repeat region, is there any way to "Fix Index" ? We have a
strict "find number" policy where the part numbers are listed on the drawing
as item 1 thru XX and the item number never changes for the given part
number. I want to have a pre determined part and find number list and then
use J-link to fix the index in the drawing according to my text file list.

Is that possible?

regards,

Alfonso
1 REPLY 1
Highlighted

jlink get mouse selected table. Fix index on table cell

Alfonso,
you can use code like this to let the user select the table from within
you J-Link application:

SelectionOptions selops=null;
Selections sel = null;
Table seltable = null;
selops = pfcSelect.SelectionOptions_Create("dwg_table");
selops.SetMaxNumSels(new Integer(1));
sel = session.Select(selops,null);
sel.get(0).UnHighlight();
seltable = (Table)sel.get(0).GetSelItem();

Regards,
Bjarne



aome dina <->
01-03-2011 20:18
Please respond to
aome dina <->


To
<->
cc

Subject
[proecus] - jlink get mouse selected table. Fix index on table cell






I'm able to get tables and walk through all the cell values on all the
drawings tables but I think that I'm missing something.

I want the user to select a table with the mouse. Then go to my menu and
have J-link get the selected table. Then I can take the information on
that table directly without having to figure out if that table is the
table I want.

Anyone know how?

How about this other issue. When I have a selected/gotten table. If the
table is a repeat region, is there any way to "Fix Index" ? We have a
strict "find number" policy where the part numbers are listed on the
drawing as item 1 thru XX and the item number never changes for the given
part number. I want to have a pre determined part and find number list
and then use J-link to fix the index in the drawing according to my text
file list.

Is that possible?

regards,

Alfonso



Site Links: View post online View mailing list online Send new post
via email Unsubscribe from this mailing list Manage your subscription
Use of this email content is governed by the terms of service at:
Announcements
Business Continuity with Creo: Learn more about it here.