I am writing an addin for our company specific for Factory Layouts. Is there a way in the API of Inventor or Factory Design Utilities to check if the current document is a Factory Layout? Of course I can check wether it's a ipt, iam, idw or dwg, but I don't know how to check further.
I am writing an addin for our company specific for Factory Layouts. Is there a way in the API of Inventor or Factory Design Utilities to check if the current document is a Factory Layout? Of course I can check wether it's a ipt, iam, idw or dwg, but I don't know how to check further.
i think you should check the "Document.SubType" property. At this site you can find more information.
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
i think you should check the "Document.SubType" property. At this site you can find more information.
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
I thought of something similar, but there is no mentioning of Factory Desgin Utitilities on the link or in the file mentioded there (see attachment).
I thought of something similar, but there is no mentioning of Factory Desgin Utitilities on the link or in the file mentioded there (see attachment).
I don't have any "Factory Desgin Utitilities" files. Therefor i cant help you check. Did you compare the strings you will get back from the "Document.SubType"? The post is very old and maybe the "DocCLSIDs.txt" is not updated. Other wise i will not be able to help you.
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
I don't have any "Factory Desgin Utitilities" files. Therefor i cant help you check. Did you compare the strings you will get back from the "Document.SubType"? The post is very old and maybe the "DocCLSIDs.txt" is not updated. Other wise i will not be able to help you.
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
I have not been able to find any properties ... but maybe there still a few way you can do this ... first Factory have an special groudn plan... maybe an simple check if this is off or on ...if it is not an factory file..with check will fail and you know is it not an factory and you if it is ... it will knwo it is an factory.. you can it is an assambly files with doctype ... so you do not check all file if they have an factory goundplane
Second thing if this for som reason does not work .... you might simple add your our properties to your factory.
or if you have a system ... like all factory part number star with 3 ... you can use that ever system you use tell your program if it is an factory or not ... not as safe .. but it might work for you
I have not been able to find any properties ... but maybe there still a few way you can do this ... first Factory have an special groudn plan... maybe an simple check if this is off or on ...if it is not an factory file..with check will fail and you know is it not an factory and you if it is ... it will knwo it is an factory.. you can it is an assambly files with doctype ... so you do not check all file if they have an factory goundplane
Second thing if this for som reason does not work .... you might simple add your our properties to your factory.
or if you have a system ... like all factory part number star with 3 ... you can use that ever system you use tell your program if it is an factory or not ... not as safe .. but it might work for you
Can't find what you're looking for? Ask the community or share your knowledge.