Hi
I write a small code to add properties in a prodcut:
but when I run it, it shows a time-run error at "Set parameters1 = prdDoc1.UserRefProperties "
any idea to solve it ?
thx
Sub CATMain()
Dim productDocument1 As Document
Dim product1 As Product
Dim products1 As Products
Set...
Hi Ferdo
I've updated it, but I dont know how to make "check" function.
any tips?
Option Explicit
Public Sub CATMain()
'CATMain requires the user to have selected a Product item from the tree
'1. Going to make a list of parts and products
'2. a) Evaluate each one to see if...
Hi Ferdo
Option Explicit
Public Sub CATMain()
'CATMain requires the user to have selected a Product item from the tree
'1. Going to make a list of parts and products
'2. a) Evaluate each one to see if it is missing any parameters
'2. b) Generate any missing parameters...
Hi I'm new to programming, and sorry for stupid questions.
I am trying to make a macro including functions below:
Exactly I got several types of parameters and I want to check they are in every part and product in my CATIA module. If some of them are miss, they would be added in.
please...
Hi Ferdo
I am new to VBA, and what I can do now is get some similar code,go through it, find something I can use and learn in this process.
one more question.
I've made one and I can run it. sometimes CATIA will be no responding because a 'search' section in code. How can I make a variable to...
Hi
It still doesn't work. In the left bottom of window it counts the selection, and it will be no responding after something like 100.
I read my code a lot of times. Everything is ok but section of Sub ExportPoint()' looks like the reason why it doesn't work...
Hi everyone
I am going to make a macro which can export the name, value, parent and current product to excel.
This is my code. It will take one hour then no responding when I run it.
I am really new to CATIA VBA and just start to learn it.
Any body can go through my code and tell me anything I...