I need to add to the iProperties dialog

I need to add to the iProperties dialog

Anonymous
Not applicable
1,165 Views
18 Replies
Message 1 of 19

I need to add to the iProperties dialog

Anonymous
Not applicable

I need to add a "Gauge" value to show up in the iProperties dialog box under the Project tab, but I don't know how or if I can.

0 Likes
1,166 Views
18 Replies
Replies (18)
Message 2 of 19

jletcher
Advisor
Advisor

No you can't why not a custom iproperty?

0 Likes
Message 3 of 19

Anonymous
Not applicable

Mainly because I just wanted to open iProps and see a line to put the gauge of sheet metal so I can pull from it an have it fill in a part of the malerials area in my title block.  Right now I have a pop-up asking you to choose but I thought if I could get it to pull that info directly from the model that you be better.

 

Is there a way to do that?

0 Likes
Message 4 of 19

jletcher
Advisor
Advisor

If you hook it up with ilogic it can do all this and then some. Blank size square inches sheet metal and material type everything.

 

My sheet metal fills in everything the shop needs by just inserting it into a drawing.

 

sheet.JPG

 

 

iProperties.Value("Custom", "MAT. DESC.") = SheetMetal.GetActiveStyle()

 and here is the code that does it.. for sheet metal not the rest this code does only the sheet metal style..

0 Likes
Message 5 of 19

jletcher
Advisor
Advisor

Then in your IDW make a symbol place the symbol where you want it in the title block but not in the definition just on top I found if I put it in the title block itself it don't update half the time.

0 Likes
Message 6 of 19

Anonymous
Not applicable

Firstly I use DWG not IDW...not sure if that make a difference though.  I am not sure what you mean by making/placing a symbol.

 

 

PS

I am new to iLogic (only a few months into using it) so I am still unsure of what it can do or how to do it.  So the more detailed the better.  Thanks.

0 Likes
Message 7 of 19

jletcher
Advisor
Advisor

Symbols are not ilogic. You can create them with ilogic but you don't need that.

 

In a Inventor DWG file over in the browser you have Drawing resources under that is a folder called Sketch Symbols if you never made any the folder will be empty.

 

Under Manage tab the is a command Define new symbol look it up in the help there is a lot you can do with them for me to list.

 

Now when setting up for custom iproperties from the model you will have to place the model in the drawing in order to see the custom iproperty.

 

I use them alot. see if you can learn it from help if not let me know and I will try to make a short video.. Here is a few links the first one may be better.

 

http://blogs.rand.com/manufacturing/2010/01/ma314-1-sketched-symbols.html

 

http://wikihelp.autodesk.com/Inventor/enu/2012/Help/0073-Autodesk73/0611-Drawings611/0633-Drawing_63...

 

Here is a pic of mine

 

Symbols.JPG

 

0 Likes
Message 8 of 19

Anonymous
Not applicable

Ok..will do

 

Thanks alot for your help...and no I didn't even know about the symbols.... just keep learing... just keep learning...LOL

0 Likes
Message 9 of 19

Anonymous
Not applicable

So do you manually enter the info in the part file or did you write iLogic code to pull that info as well?

0 Likes
Message 10 of 19

jletcher
Advisor
Advisor

ilogic code to extract the information. So this way in review of the assemby and parts if the lead engineer says it can be thinner or Mild steel instead of stainless after the user changes it will update can't trust users they may forget to change it.

0 Likes
Message 11 of 19

jletcher
Advisor
Advisor

Here is the code I use the rule is called MAT. DESC. in the rule is this code

iProperties.Value("Custom", "MAT. DESC.") = SheetMetal.GetActiveStyle()

 Now I have more code to do the square feet and blank size but this does the sheet metal

 

This will need to be added to your sheet metal template I could have had the rule check to see if it was there if not create one but it is just as easy to have the custom prop in the template.

 

Sheet Metal Tag.JPG

 

Then in the IDW or Inventor DWG what ever one you use This is the symbol that calles up the custom prop

 

Symbol Sheet Metal.JPG

0 Likes
Message 12 of 19

Anonymous
Not applicable

I can't get values to populate custom iProperties.  Is there something I have to do in the part files?

0 Likes
Message 13 of 19

jletcher
Advisor
Advisor

Post your part so I can see what you have..

0 Likes
Message 14 of 19

Anonymous
Not applicable

I was able to get what I needed ( sort-of anyway) with what I learned from my other post "iLogic & the API".  The problem I have is...

 

1)  The out put from the "CONCATENATE" formula is in decimal, but I need it in fractional

 

2) How do I get the code for material to work for tubing (sqaure and round)

0 Likes
Message 15 of 19

Anonymous
Not applicable

Also, upon further contemplation...

I realized that what I posted earlier would not make much sence in this application since I am not using an Excel doc to drive multiple sizes.

 

So I am perplexed as to how to pull the Length x Widh x Height or Dia x Length from my single part file and have it fill in the discription.

 

 

0 Likes
Message 16 of 19

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

I tried to take a look, but am also perplexed what your problem is since the history is a bit long. Could you clarify it again, e.g. your workflow, which values you want to get. And are you still having the issues in message 14? or they are not questions anymore because you changed the workflow. 

0 Likes
Message 17 of 19

Anonymous
Not applicable

What I am trying to do is get the format in the "Material" scetion of my title block to look like this.....

 

7Ga x 22 1/2 x 33 1/4 (dimensions need to be stacked)

 

I was tring to figure out a way to pull the thickness of the material and combine it with the Length & Width of the material in fraction form so that the "Material" protion of my title block would auto fill.

 

Also, I need to be able to pull this same info fron angle iron, round tubing, and sq.rec tubing as well.

 

Most of my files are either iParts or iAssemblies.  I have been manipulating the table's spreadsheet by entering the converting the length and width to fractional form (manually) and then using a formula like this..

 

=CONCATENATE(AD2,"Ga x ",AF2," x ",AG2)

 

to combine info from different cells.  But this is very time consuming, so I am looking for a faster/easier way to get this done.  I have almost 1K files that I will need to do this to, so any ideas that makes it faster and easier are what I am looking for.

 

I have attached a file showing what I have so far.

0 Likes
Message 18 of 19

Anonymous
Not applicable

The way it is now...whenever I look at the table in inventor the "Description" colum is red...

 

See pic :http://screencast.com/t/anUtMqeI3FOx

0 Likes
Message 19 of 19

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

Sorry for late respond.

 

Firstly, I do not think the Decription column can be customized to display value in fractional. 

 

In addition, it looks the current problem is to " combine info from different cells.  But this is very time consuming". When you say "combine", I beleive you are referring to Excel API. Can I know which access way of your application? an VBA?.NET project or others? If it is VBA on 64bits, it is not much strange because VBA on 64bits in Inventor is out of process. In addition, with my experience, you could read all data out to memory, manipulate them and finally get the combination value, instead of reading cells every time when you want to combine. I can be wrong to understand your description. This is just what I'd like to share.

 

As to color in red, sorry I have not an idea..

0 Likes