If just in *.ipt model, the engraved P/N is correct. But if I put different parts of this iPart, the engraved P/N is the Active part.
I used following in my rule in *.ipt.
ModelPartNumber = iProperties.Value ("Project", "Part Number")
Could somebody advise how can I get correct P/N number when the part is not in active status?
I am using Inventor 2009, WIN XP SP3.
But if I put different parts of this iPart????
Don't make since.
Do you mean when you but different ipart members in an assembly the engraving does not update to show new part number in the engraving?
ipart member 1 = XXX1 in assembly part engraving shows XXX1
ipart member 2 = XXX2 in assembly part engraving still shows XXX1
Is this what it is doing?
Yes, this is my trouble.
Yes, I checked this one.
In fact, I copied the code to engrave the P/N. In iPart model, if I change to other P/N, the engrave is correct. But if put in iAssembly, the engrave is the Active one not the engrave expecting. Just the engrave, rest is correct.
Unfortunately, I think I cannot give you the part what I am working.
I will make a simple model to show you. Give me a little time.
ok I think I found the issue. ok post part when you get it done because I dont have anything set up to test.
found this it may help...
http://beinginventive.typepad.com/being-inventive/2011/07/emboss-text-in-an-ipart.html
But I think this is a bit much. I think I found an better way.
Thanks lot. Here is one simple model which I am working too.
Please note: I am using Inventor 2009 (32 bits). If you modify the model or code, please save it in 2009 Version.
almost have it I think running some test. I am on 2012 but I will look at my 2009-2010 and see..
Hello jletcher,
Thank you lot for your time.
Did you get solution yet? Any suggestion for it?
Yes got it but you will have to wait till the morning i left my drive at home...
Ok here you go sorry for not getting back Friday Had an issue myself I had to take care of. But what you have to do is make a sketch for every part number. As of right now your 2009 will not do what is needed to use illogic. In fact 2012 or 2013 has not much of a better way. So make a sketch and engraving for every part number.
Then in the table add them to the table.
Remove the rules
And here is the works
This is the best and really only way for you.
There are other ways in 2012 and 2013 with form or excel...
Thanks lot for your help and time, jletcher.
In fact, I have hundreds of part for each iPart and iAssembly. So, I cannot use suppress/unsuppress option to solve this problem.
Maybe I will not use iPart, but change everthing to iLogic if I could find a way to change part in assembly as I did in iAssembly by using Table Replace.
Thanks again.