What does "Skeleton" use as template file?

What does "Skeleton" use as template file?

Tigerpirro
Advocate Advocate
2,369 Views
22 Replies
Message 1 of 23

What does "Skeleton" use as template file?

Tigerpirro
Advocate
Advocate

I have an issue with frame generator that gives me an error message when I save them. This seems to stem from the Skeleton model getting a iLogic code that I use in my template, that runs everytime before I save. This code end up in the skeleton parts, which are "locked" and hence throw errors when the code runs in it, trying to change stuff. 

I cant seem to figure out which part the Skeleton uses as a template, can someone please tell me this?

Screenshot_4.png

 

0 Likes
Accepted solutions (1)
2,370 Views
22 Replies
Replies (22)
Message 2 of 23

Frederick_Law
Mentor
Mentor

It should use Standard.ipt or Standard.iam.

0 Likes
Message 3 of 23

johnsonshiue
Community Manager
Community Manager

Hi Folks,

 

I don't believe the skeletal part is from Standard templates. It is actually not based on a template. It is probably based on the family template from the first selected frame member.

I need to check with the project team to say it for sure.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 4 of 23

Tigerpirro
Advocate
Advocate

Please do and get back to me, this creates issues for my entire company.

 

Have a nice day.

0 Likes
Message 5 of 23

SharkDesign
Mentor
Mentor

Can you include a line in your ilogic that skips parts with the word Skeleton in them?

  Inventor Certified Professional
Message 6 of 23

Tigerpirro
Advocate
Advocate

I thought about that, but its sub-optimal. A lot of our subcontractors use skeleton in naming. A bunch of old templates etc frequently use Skeleton, as well as customer supplied stuff. 
Adding such lines would make the code not run in parts where it should run. While I could make workarounds to make it clearer which parts would be affected, that would be workarounds for a workaround instead of fixing the main issue.

Have you got anything on what the skeleton uses as a template?

0 Likes
Message 7 of 23

jan_priban
Alumni
Alumni

Hello 

 

FG Skeleton is IPT based on default IPT template where selected entities (entities they FG frames are placed on) are copied into. So if you place an iLogic rule into default IPT /Part template then FG skeleton has the same iLogic rule.

 

I am from Europe so I use [mm] template, so for me FG skeleton is based on (derived from) :

 

TemplateForFGSkeleton1.jpgTemplateForFGSkeleton.jpg

 

Regards

 

Jan Priban

Message 8 of 23

Tigerpirro
Advocate
Advocate

So its based off the .ipt from the first frame generator component I put into the assembly?

Basically using the beam/pipe/etc as a template for the skeleton file?

0 Likes
Message 9 of 23

Tigerpirro
Advocate
Advocate

I tested this and even when I use FG components that dont have the code in them, and base it on a sketch from a part without the code, the skeleton still ends up with the code in it. So it has to use something else as a template.
0 Likes
Message 10 of 23

Tigerpirro
Advocate
Advocate

Any updates?

0 Likes
Message 11 of 23

jan_priban
Alumni
Alumni

Hello,

 

no, FG skeleton is based on

 

"c:\Users\Public\Documents\Autodesk\Inventor 2021\Templates\en-US\Standard.ipt"

 

Regards

 

Jan Priban

0 Likes
Message 12 of 23

Tigerpirro
Advocate
Advocate

Oh, sorry. I must have missunderstood you. I will check this. Thanks.

EDIT:
Went through those files and none of them have my code in it. So it cant get it from them.

0 Likes
Message 13 of 23

amber.hady
Enthusiast
Enthusiast

@jan_priban  What if that location does not contain any templates? Then what will FG use for the skeleton template?

0 Likes
Message 14 of 23

jan_priban
Alumni
Alumni

Hello,

 

#1 I created IPT without template

#2 I created IAM without template and placed IPT #1 into this IAM

 

Then I placed a frame by FG to get skeleton + save assembly. When I opened skeleton file, rule from default IPT template was there (in skeleton file) - rule can be run in skeleton file, but can't be edited

 

Regards

 

Jan Priban

 

NewFileNoTemplate.jpg     RuleInSkeleton.jpg

 

 

 

Message 15 of 23

Frederick_Law
Mentor
Mentor

Inventor has "internal" template when it cannot find template.

It is also default template for some commands even user has specified template.

Message 16 of 23

Tigerpirro
Advocate
Advocate

I checked all the files in that folder and none of them has any code in them. It cant be them it uses as template.
 

0 Likes
Message 17 of 23

Tigerpirro
Advocate
Advocate
Any update from the project team?
0 Likes
Message 18 of 23

jan_priban
Alumni
Alumni

Hello

 

When I deleted iLogic rule from my default IPT template then all new FG skeleton files are without any rule. I still thing rule in Skeleton is coming from default part template file.

 

Jan Priban

0 Likes
Message 19 of 23

Tigerpirro
Advocate
Advocate

I'm not saying youre wrong but I checked every part file in the folder you pasted and none of those has the code in it, I also havent added the code to anything outside our own templates, so I dont see why or how it could get in there.
We have also used this code for a couple of years and this error message didnt appear until Inventor 2021.

0 Likes
Message 20 of 23

Tigerpirro
Advocate
Advocate
Accepted solution

Never mind, I figured it out, kinda. We have a folder for our templates, so I added a empty part file named "Standard" to that folder and now the Skeleton grabs that.
We didnt have any file named Standard in our template folder before. So the solution is that I have to add a empty file named Standard to all our (customer specific) template folders, which will invariably lead to people using the wrong template files.
I still dont know which file the Skeleton part actually grabbed as a Template, when we didnt have a Standard.ipt. Is there any way that the Skeleton file could use something else as a template or a built in blank file? Its kind of a dumb to have a system that randomly grabs someting and uses it as a template when it SPECIFICALLY needs a blank part.
In my humble opinion, that should be treated as a bug.