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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Translate the entire conversation x

Table parameter indexing by (1) on every insert

MORECREO
14-Alexandrite

Table parameter indexing by (1) on every insert

I have an identification table (1 row) that I insert into a drawing and it contains &ID1:D.

When I insert the table I get flagged with the 'ADD PARAM' menu. 

From here I select string, type my new value, and &ID1 gets added as a parameter in my drawing.

I would like to be able to add a 2nd ID table that gets bumped to &ID2:D, so that on every table insert I get an additional parameter created in my drawing.

 

These id's can range to well over 100. So simply creating (2) different tables, one with ID1 and one with ID2, will not solve my problem.

 

Is this even possible?

 

Thanks for your help!

4 REPLIES 4
RPN
17-Peridot
17-Peridot
(To:MORECREO)

Yes, you can. You only need to think about how edit should work. If you say that you never delete one id, you have only to deal with parameter search. Pagination should be done by the user, Without testing it I would assume, that pagination is possible for a none repeat table. Rather to insert a new table for each ID, increase the number of rows by one, and have a small interface for inserting the new parameter and value. 

Hi,

it is not possible using OOTB Creo functionality. It requires programming knowledge. I can imagine that I would be able to add the required functionality using an AutoIT script (but I don't want to try it).


Martin Hanák
RPN
17-Peridot
17-Peridot
(To:MartinHanak)

Yes I know, the request is &ID* (of the drawing) but I would recommend a report table for the attached model. and this is possible without programming, and Martin, please use 'As far "I" know it is not ... ' !

 

  1. Create a Table
  2. Add a simple Repeat Region (I used 2 columns, for the correct sort)
  3. As repeat data enter: mdl.param.name and mdl.param.value
  4. Add the filter &mdl.param.name == id*
  5. Sort by &mdl.param.name Forward (without it is sorting by creation order !, maybe you can sort mdl.param.value by mdl.param.name for the single column)

 

Now you onlyRepeat Model Parameter of ID*Repeat Model Parameter of ID* need to add a new parameter "ID*" in your model, and 'Voila' the table will report this.

Hi @MORECREO,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.  

 

Thanks,
Anurag 

Announcements

Top Tags