Hello,
I currently have a task of importing hundreds of dwg pipe runs into Inventor. I have successfully written an iLogic script to import all the dwg pipe runs, shrinkwrap, break link and save.
I now want to add each of the runs as a tube and pipe run from a list for each of the shrinkwrap files to go in.
Is there a way to create a tube and pipe run with the API ?
Solved! Go to Solution.
Hello,
I currently have a task of importing hundreds of dwg pipe runs into Inventor. I have successfully written an iLogic script to import all the dwg pipe runs, shrinkwrap, break link and save.
I now want to add each of the runs as a tube and pipe run from a list for each of the shrinkwrap files to go in.
Is there a way to create a tube and pipe run with the API ?
Solved! Go to Solution.
Solved by A.Acheson. Go to Solution.
There is no API but you can create runs via the control definitions (command button) effectively mimicking the manual method. What is the end goal here? Can you show a screenshot of the browser and how the imported file is situated within? After you create the run you can use the normal API tools for the assembly. You just won't be able to use the connect tools etc.
There is no API but you can create runs via the control definitions (command button) effectively mimicking the manual method. What is the end goal here? Can you show a screenshot of the browser and how the imported file is situated within? After you create the run you can use the normal API tools for the assembly. You just won't be able to use the connect tools etc.
Hi A.Acherson,
Thanks for your reply.
Just needed to know if there was any API for pipe and tube so I don't waste time scouring the internet for information that does not exist.
Using the control definitions sounds like the way to go, so cheers for the suggestion.
Hi A.Acherson,
Thanks for your reply.
Just needed to know if there was any API for pipe and tube so I don't waste time scouring the internet for information that does not exist.
Using the control definitions sounds like the way to go, so cheers for the suggestion.
No problem, here is the control definition for it. Here is a post using it.
' Create run, also use this to start Tube and Pipe Environment if none presented. Dim oCDs As ControlDefinitions = ThisApplication.CommandManager.ControlDefinitions Dim oCD As ControlDefinition = oCDs("HSL:Piping:CreatePipeRun") oCD.Execute
No problem, here is the control definition for it. Here is a post using it.
' Create run, also use this to start Tube and Pipe Environment if none presented. Dim oCDs As ControlDefinitions = ThisApplication.CommandManager.ControlDefinitions Dim oCD As ControlDefinition = oCDs("HSL:Piping:CreatePipeRun") oCD.Execute
Can't find what you're looking for? Ask the community or share your knowledge.