I'm trying to automate some things. I am creating some profiles and draw them by hand. Now have i found a function in SE which inserts a feature with a preset. I want to start this from my macro.
What the macro needs to do:
In the part environment, it has to insert a feature library file. ( which is als a .par file ).
How i think the macro should do it.
Specify the feature library part
Make this part a library part
Insert library part
If i use command.start("filelocation"), the file just opens. ( so this doesn't work )
I have found a function which is solidedgepart.partdocuments.IsFeatureLibrary, I think i will need that function but it is a boolean and read only.
If something is unclear, please let me know.