Search publication elements in part
Search publication elements in part
(OP)
Hello,
Is there a way to search&select only elements that are also published through VBA script?
Thank you!
Is there a way to search&select only elements that are also published through VBA script?
Thank you!





RE: Search publication elements in part
MyPart and k+1 are my own definitions, but the syntax is as follows
PubName = MyPart.Parent.Product.Publications.Item(k + 1).name
Set PubRef = MyPart.Parent.Product.Publications.Item(PubName).Valuation
regards,
LWolf
RE: Search publication elements in part
Best regards,
Rajko
RE: Search publication elements in part
RE: Search publication elements in part
try to use this:
CODE -->
Dim publications1 = Part1.Publications Num_publications = publications1.Count For b = 1 To Num_publications Dim publication1 = publications1.Item(b) Dim pubRef As Reference Dim PubName As String = Left(publication1.Name, 4) Dim Publication = publication1.name NextTiago Figueiredo
Tooling Engineer
Youtube channel:
https://www.youtube.com/channel/UC1qdlBeJJEgMgpPLV...