Thanks.
Does it mean RootParameterSet can contain only DirectParameters (User Parameters)?
Then what parameters the AllParameters contain in addition to DirectParameters.
Hello,
See if this works for you.
Insert a sketch point in 'Drawing View3' at the desired point. Select the sketch point. (Make sure that no other object is selected.)
Then run the following code.
Option Explicit
Dim swApp As SldWorks.SldWorks
Dim Part As SldWorks.ModelDoc2
'Dim swmodel As...
Last week when I was exploring about dimension styles. I recorded a macro adding box as prefix to a dimension as a part of this learning.
The statement recorded was:
boolstatus = ModelDocExtension1.EditDimensionProperties(0, 0, 0, "", "", True, 9, 2, True, 0, 0, "<MOD-BOX>", "", True, "", ""...
Solved!!
The problem was somewhere else and finally I could figure it out. Everything works fine now. I converted it into VB 2017 community dll and the dll works fine, at least for the trial part, in the calling program.
I was processing planes in different subs and in one of the subs they...
I have VB 2017 community, but because of familiarity I am initially doing it in VB Express 2010. When I compile (build), I get the following out put.
------ Build started: Project: catBB10, Configuration: Release x86 ------
catBB10 ->...
Without any problems. That's why I am confused. I have tried every trick, but can't get a clue as to why this is happening.
See attached image.https://files.engineering.com/getfile.aspx?folder=ca29ae31-f494-47fe-8f10-7c2efa1e71c6&file=DistBetPlanes.png
It is already imported. In rest of the program it is working.
I am creating two planes, moving them by some math and then measuring the final distance with them. Only at this line it gets stuck. That's why I am puzzled.
Thank you Tiago,
It works in VBA.
How ever, in VB.net the line
MinimumDistance = TheMeasurable.GetMinimumDistance(reference2)
gives an error
"HRESULT E_FAIL has been returned from a call to a COM component"
Also how can we see properties and methods on CATIA COM components in VB.net?