Inventor: Reading an iPart Table with iLogic

  Рет қаралды 13,821

3DSteve

3DSteve

Күн бұрын

This video shows how to read information from an iPart Table using iLogic.

Пікірлер: 11
@user-pm3pt5mh5j
@user-pm3pt5mh5j Ай бұрын
How do i create a parameter with the units being "text"?
@ivanildolopes4335
@ivanildolopes4335 8 жыл бұрын
Manipulate the files in this way and very interesting.
@minhtriettran1793
@minhtriettran1793 Жыл бұрын
Hi how can you set the iPart "Pipe"'s name to just "Pipe". My iPart's member name always change so I cannot use the ChangeRow snippet because after each edit It always change.
@steveolson8283
@steveolson8283 Жыл бұрын
If you slowly double-click on the pipe in the browser, it should let you rename the browser node. Once you have done that, it should remain static.
@craigh7667
@craigh7667 8 жыл бұрын
I basically recreated what you did, but when I write the code that you did @ 3:35 mark it gives me the following error: "iPart.CurrentRowValue("PipeOD"): This function was called without a previous call to iPart.ChangeRow or iPart.FindRow." What am I missing here?
@3DSteve52
@3DSteve52 8 жыл бұрын
+Craig Hayman Craig, The iPart.CurrentRowValue("PipeOD") function is to be used after an iPart.ChangeRow or Find Row because it does not have any arguments to identify which iPart in the assembly you might be using. In my video, I use iPart.ChangeRow to set the Pipe component to the correct iPart Member. Therefore, it knows to read that iPart table. Inventor assumes that you might have multiple iParts in your assembly. Are you using either of those functions in you rule? If you would be willing to share what you are working on, I would be willing to look it over. Steve
@craigh7667
@craigh7667 8 жыл бұрын
+itsaCADworld It is almost exactly what you have there. I am creating a axial fan assembly with a casing and 2 flanges on both sides. However, the casing and flange (diameter & length) will change depending what model I selected. Our company has over 50+ models so I thought using iParts was the best route to go. Here is what I have done so far: 1. I created an iPart for the fan casing and also one for the flange with the following members; 1. 126 2. 124 3. 124V 4. 122 5. 122V * they vary in OD, ID and length* 2. Created an Assembly and dropped the 1 X Casing iPart and 2 X Flange iPart 3. Created a user parameter in the assembly called "Model". This would allow me to select one of my fan models. 4. Created an iLogic ruled named "Fan Size". What I want this to do is find the model I select in the iPart Table (for example 126) and grab the OD, ID, and length paramters then update all parts. I did exact;y what your code said ( I am very new to iLogic) and it gave me that error. Just for reference here is my code. iPart.ChangeRow("Master_Axial Fan_Casing:1", Model) Length = iPart.CurrentRowValue("Length") Inside Diameter = iPart.CurrentRowValue("ID") Outside Diameter = iPart.CurrentRowValue("OD")
@3DSteve52
@3DSteve52 8 жыл бұрын
+Craig Hayman I have been through your code several times, and rebuilt my code to make sure nothing has changed since I made the video. I cannot replicate the error you are getting. Are your Inside Diameter and Outside Diameter Parameter\Variables all one word, or is there a space.? Parameter\Variable names have to be one word, or use an under score between them. That may be your issue. I would also add Updates after the ChangeRow statement, and an Update when Done statement at the very end. InventorVb.DocumentUpdate() iLogicVb.UpdateWhenDone = True Hope this helps, Steve
@craigh7667
@craigh7667 8 жыл бұрын
+itsaCADworld All parameters are one word with an underscore connecting the words... Is there a way you can check my model and code? Maybe I am missing something here in the explanation that is key?
@3DSteve52
@3DSteve52 8 жыл бұрын
+Craig Hayman One more thing you can try before you send me the model is try restarting your PC. How iLogic works is that, the code you write is translated to an executable that sits in your temp directory. I have see scenarios, where users have made so many changes to their code that the executable gets screwed up and through strange errors. There are ways to get the executable to be regenerated, but I have seen that cause more trouble than good. So I typically restart Inventor, and possibly the PC to get the executable to regenerate. If that does not work, send me a message at steve.olson@mesa-cad.com. I will send you instructions on how to load the model to a ShareFile site. I can look the model and code over and let you know what I find. Steve
Inventor iLogic
27:36
Dave Whiteley
Рет қаралды 45 М.
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 10 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 3,9 МЛН
Managing Autodesk Inventor iParts and iAssemblies
58:35
Hagerman & Company
Рет қаралды 14 М.
iLogic Picking from iAssembly
8:45
3DSteve
Рет қаралды 9 М.
Read Excel using iLogic
7:51
3DSteve
Рет қаралды 25 М.
Elon Musk fires employees in twitter meeting DUB
1:58
GeoMFilms
Рет қаралды 15 МЛН
Autodesk Inventor 2012 - An introduction to iLogic
16:14
Man and Machine Ltd
Рет қаралды 19 М.
In depth with Inventor iLogic
46:50
Cadgroup Australia
Рет қаралды 15 М.
Getting Started with Autodesk Inventor iLogic
1:11:19
Hagerman & Company
Рет қаралды 20 М.
Autodesk Inventor iLogic Product Demonstration
24:38
Man and Machine Ltd
Рет қаралды 10 М.
Introduction to Autodesk Inventor iLogic
10:00
manufacturingarea
Рет қаралды 55 М.
How to create iParts | Autodesk Inventor
13:07
Tech3D
Рет қаралды 140 М.
НИКОГДА не БЕРИТЕ ЖЕНУ на РЫБАЛКУ
0:35
ИЗЮМЕР
Рет қаралды 1,8 МЛН
The Latest Anti-Drone Mod for UAZ "Bukhanka"
0:25
USHANKA SHOW
Рет қаралды 2,3 МЛН
Bikers & Wolf 🐺
0:58
Info Trending Zone
Рет қаралды 27 МЛН
НИКОГДА не ЕШЬ эти ГРИБЫ
0:48
КиноЖаба
Рет қаралды 1,7 МЛН