Get Current Cell Value in iPart and Set name to Part Number

ngnam1988
Advocate
Advocate

Get Current Cell Value in iPart and Set name to Part Number

ngnam1988
Advocate
Advocate

Hi all,

Can you help me about problem. I'm working on iLogic Rules: I wanna get value in Column "Version" and with each of them the Part Number can set automatic? Ex. with Version 001 the Part Number will be set: ../001. Please see the picture that I attached. Thanks,000-000.001.png

0 Likes
Reply
799 Views
8 Replies
Replies (8)

johnsonshiue
Community Manager
Community Manager

Hi! If I understood your request correctly, you should be able to use CONCATENATE() function in Excel to populate the Part Number cell values. You don't need to use iLogic here. iPart was designed to create library components, totally driven by the author table. iLogic rule within iPart factory may interfere the process of driving members.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer

ngnam1988
Advocate
Advocate

Thanks you very much!

Exactly I wanna get the current cell value at "Version" Column and add a new Value to Cell in another Column after that. Is there any iLogic Rule can do it?. I can't find any topic talking about it. Thanks for your reply,

0 Likes

mikejones
Collaborator
Collaborator

Are you able to share the file with the ipart table in it?

 

Mike

Autodesk Certified Professional
0 Likes

ngnam1988
Advocate
Advocate

Yes, of course.

Here's the file that I'm working for iLogic Testing. I'm using the Inventor 2018. Thanks,

0 Likes

johnsonshiue
Community Manager
Community Manager

Hi! Please take a look at attached part. Edit the table in Excel and see how Part Number column is formulated.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

ngnam1988
Advocate
Advocate

Thanks for your time that you spent for my question.

Thanks for your .ipt file that you reply.

There're some way can do accomplish my intent but I really wanna done it by iLogic. Is it possible by iLogic Rules? The file is an example for my question: "I wanna get the current cell value at "Version" Column and add a new Value to Cell in another Column after that. Is there any iLogic Rule can do it?." If iLogic can't do it I'll closed this post. I think it can be: iPart.CurrentRowValue("columName"), I read some post talked about it but I don't understand how can make it run in the correct way. Thanks for your supporting.

0 Likes

johnsonshiue
Community Manager
Community Manager

Hi! It can be done via iLogic. But, I do not suggest you do that using iLogic. Like I mentioned before, iPart/iAssembly was designed to create library components. These components should be totally driven by the table, not by other means. Once the member files are created, they should be stored in a library folder without constant change.

You are trying to use iLogic to drive iPart factory, which violates the assumption. I suspect you are trying to do configuration workflow. I think you should simply use iLogic without using iPart. You can focus on making one configuration via iLogic rule. Then you use iLogic Design Copy to create another version.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer

ngnam1988
Advocate
Advocate

Thanks Johnson,

Yes, I’m trying creating the configuration workflow. I’ll try to find some similar topics talked about iLogic for iPart/iAssembly. I’ll be happy if you can help me if it’s not to much difficult. Thanks,

0 Likes