Change varied Items VB API
Nov 15, 2023
09:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 15, 2023
09:57 AM
Change varied Items VB API
Hello,
Does anybody know how to change new value of varied items with CREO 7 VB API.
Regards
Ludovic Besse
Solved! Go to Solution.
Labels:
- Labels:
-
Other
ACCEPTED SOLUTION
Accepted Solutions
Nov 16, 2023
08:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
4 REPLIES 4
Nov 16, 2023
06:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 16, 2023
06:22 AM
In VB API this is not possible.
You can use a workaround:
1) In assemble create a relation PARTVARPARAM:CID_XX = ASMPARAM
where
PARTVARPARAM - variable parameter in the part
CID_XX - XX is a ID of the part component in the assembly
ASMPARAM - assembly parameter
2) Using VB API change the value of the asm parameter "ASMPARAM"
Nov 16, 2023
07:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 16, 2023
07:07 AM
I've already tried this solution, the problem is that the native assembly is also modified.
Thanks
Nov 16, 2023
07:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 16, 2023
07:38 AM
You are right.
But I think, that by changing a variable parameter of the component will change the assembly too.
Is it not true?
Nov 16, 2023
08:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 16, 2023
08:13 AM
It's true.
Thanks for your time
