I have been trying to find VBA code for to 'Create Part In Place' in an Assembly.
It seems that this functionality is not exposed in API?
Am I right or missing something?
Hello,
I have a part with a Pad.
I interactively select an edge / a face in the graphics screen.
1. Using a VBA macro I find the parent of the selected edge / face. As expected, the Pad object is the output of the Parent property
When I add a Hole feature on a face of Pad, the Hole object...
Hello,
When I access the RootParameterSet object of a ProfuctDocument.Product it does not contain any parameters.
The ProductDocument.Product.Parameters. RootParameterSet.AllParameters.Count returns 0 (zero) when there are default 5 Parameters in every ProductDocument.
What am I doing wrong...
Greetings,
When I create a user property (using 'Properties > Define other properties ... '), a related parameter is created.
eg. If I create a user property 'Author', a parameter name 'Properties\Author' is automatically created.
Is there any specific capability / use that User Property can...
Thanks.
If I insert exactly similar hole and give exactly similar dimension using the Hole Wizard or Cut Extrude feature, the dimensions are shown in the Equation Manager.
So, what's up with Simple Hole? Is it an abandoned child of SolidWorks?
I created a simple hole on a face of a block. I then created a dimension from an edge of the face to the center of the simple hole.
Dimension Created in Simple Hole Sketch
But the dimensions does not show in the Equation Manager.
Dimension Missing in EQN. Magr.
Is this normal behavior? I am...
thread559-102461
I was just browsing through archived threads out of curiosity.
The original problem was to rename three selected dimensions and change their names to predefined standard names and create custom property for each of them. The solution provided was able to process only one...
Thanks but that does not help much.
Now here is another example. What is the logic / rules that I can use to interpret and understand this?
"D1@7300 AA STANDARD FRAME SKETCH@730301413000-1@Drawing View1"
I am really stuck up. There are more complex examples:
"SW-Sheet Metal...
Hello, thanks for your replies.
I am not a regular / experience SolidWorks user.
I spent some time on my problem and realized that I had unnecessarily tried to generalize the problem.
Here is more specific problem.
The sheet view can contain annotations or even geometry. So I wanted to check...
Using Solidworks API, how can I find a drawing view is empty?
Same is the case with Sketch object.
I have searched the help file but can't find anything relevant.
Is the procedure for naming Properties in SolidWorks documented anywhere. I have searched help and web but was unable to find any.
For example:
"SW-Cost-StockType@food_processor.SLDASM"
What does the part before and after @ means.
Sometimes there are more than 2 strings separated by @
Sometimes...
I have received the attached drawing from one of my clients. (I have removed geometry to maintain confidentiality. But it retains the essence of problem that I have). I have to write VB/A program that extracts data from this drawing. For that I need to know the extents of the drawing.
The...
OK.
On digging deeper I found that the current UCS of the drawing was "*NO NAME*". When I manually changed if to "World" then ExtMin value was correct.
Now my problem is how to find out, in VBA, that the drawing is using an unsaved UCS as the current UCS. Because in both cases the value of...
I have received the attached drawing from one of my clients. (I have removed geometry to maintain confidentiality. But it retains the essence of problem that I have). I have to write VB/A program that extracts data from this drawing. For that I need to know the extents of the drawing.
The...
Yes.
But can we not form any logical reasoning to find out how and when it works.
It will save lot of time every body spends in learning by trial and re-inventing the wheel.
Part.HybridShapeFactory.GSMGetObjectFromReference(reference) does not work with all references.
Can you throw some light on which type of references this works and on which references it does not work.
For example I got a reference object from a publication (using Publication.Valuate).
When I...