is it possible? - coppy part

is it possible? - coppy part

Cris-Ideas
Advisor Advisor
439 Views
2 Replies
Message 1 of 3

is it possible? - coppy part

Cris-Ideas
Advisor
Advisor

Hi,

I would like to find out if it is possible to copy a part with iLogic.

What I mean is if I have a part file I have modelled in a standard way am I able to "make" exactly identical part with iLogic. So to create all modelling structure identical in the new file?

 

At this point I am not really interested how to do it exactly, but only to establish if it is possible.

 

Cris.

Cris,
https://simply.engineering
0 Likes
440 Views
2 Replies
Replies (2)
Message 2 of 3

WCrihfield
Mentor
Mentor

For the most part, yes, it is possible.  Of course there are exceptions, depending on the details of the situation.  If we're just talking about using something like a SaveCopyAs sub routine to save a copy of the document out to a new file, then sure, that's simple enough.  If we're just talking about copying a part file, then yes.  If you're talking about fully inspecting and recording the data used to create every sketch, work feature, part feature, etc involved in the current part, then totally recreating all the same sketches, work features, part features, etc in a new (from clean template) part, then I'm going to say maybe, because that can get really complicated.  Maybe possible, yes, but potentially too complicated to accomplish and likely a larger project than most would want to tackle

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 3

bradeneuropeArthur
Mentor
Mentor

For this you need to use:

"Readbytes" function from the to be copied part and "writebytes" function to the copy to part.

I have an code in vb.net for that which I can share next week.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature