Mark up .idw with ilogic

Mark up .idw with ilogic

Anonymous
Not applicable
641 Views
7 Replies
Message 1 of 8

Mark up .idw with ilogic

Anonymous
Not applicable

Hi,

 

What I'm trying to do is create a script in .ipt where I open up a .idw (imported from .pdf) where I mark it up based on user parameters.

 

What I have so far is:

 

 

ThisDoc.Launch(ThisDoc.Path & "\hdhws1 base" & ".idw")

 

Where I tell my .ipt to open up the .idw I want to mark up. I have also set-up the user parameters. This is where I'm stuck. How can I link the user parameters over to my .idw file?

 

I was thinking maybe utilizing embedded excel sheet to pull the values from the user parameters but still the question is how to link it to my .idw file. Could any please point me in the right direction?

 

Thanks in advance!

 

 

 

 

0 Likes
Accepted solutions (1)
642 Views
7 Replies
Replies (7)
Message 2 of 8

jletcher
Advisor
Advisor

I think you may have to make a step by step what you are seeking.

 

The way I read it I am not understanding..

 

You can simply right click on the part in the browser and open a drawing for the part not sure what you mean by

 

"where I open up a .idw (imported from .pdf) "

 

 

And not understanding

 

"where I mark it up based on user parameters."

 

mark up what?

 

 

 

0 Likes
Message 3 of 8

Anonymous
Not applicable

Hey. So I have attached what I wanted to mark up and what I mean by importing a .pdf to .idw file.

 

The goal is to have certain user set parameters such as door opening, etc. and have other values filled out based on the script. Automation pretty much, eliminate the manual calculations.

 

Now that I think about it, I'm not sure if I need the part file. (there is no actual part, it was just a file containing a script to open up my .idw. along with user parameters) I can just create all my user parameters on the this drawing and pretty much mark it up.

 

Thanks

0 Likes
Message 4 of 8

jletcher
Advisor
Advisor

I would not import a pdf I would make a sketch table and use BOM to fill in my information from the parameters..

 

I try to use everything Inventor...

 

What version of Inventor you on?

0 Likes
Message 5 of 8

Anonymous
Not applicable

I'm using 2017 Inventor. 

 

i = GoExcel.FindRow("3rd Party:Embedding 1", "Sheet2", "s_OperatorTypeCat", "=", s_OperatorTypeCat,"s_DoorType_Speed", "=", s_DoorType_Speed, "s_DoorOpeningCat", "=", s_DoorOpeningCat, "b_CarDoorUnistrut", "=", b_CarDoorUnistrut, "b_HatchDoorUnistrut", "=", b_HatchDoorUnistrut)
UseDWGTEMP = GoExcel.CurrentRowValue("s_TemplateOutput")

ThisDoc.Launch(ThisDoc.Path & "\Template Masters\" & UseDWGTEMP & ".idw")

I found an example that utilizes something as shown above. Which is pulling values from an excel spread sheet from what I can tell?

 

Could you give me an example of the sketch table you're referring to? Thanks

0 Likes
Message 6 of 8

jletcher
Advisor
Advisor

 To be honest I don't think this is the best way.

 

I am working on a video to show you how I would set up for shops.

 

Right now I am having 2012 to 2018 code change issues let me get that resolved and make you a video I think you will be happy with what I show..

 

0 Likes
Message 7 of 8

Anonymous
Not applicable

Awesome that would be great. Thank you

0 Likes
Message 8 of 8

jletcher
Advisor
Advisor
Accepted solution

Here is a sample of how I set up clients to get information from parts.