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...
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...
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...
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...
Hello,
When I get the value of density using Density property of the MassProperty object it always returns the value of 1 irrespective of the material applied.
I have checked the help file and searched but can't find a clue?
What am I missing.
(I am new to SWk customization so not sure if...
NX11 API help says the ObjectPicker property of AttributePropertiesBaseBuilder is obsolete but does not mention any alternative.
So, what would be the alternative for the following statement?
attributePropertiesBuilder1.ObjectPicker = AttributePropertiesBaseBuilder.ObjectOptions.Occurrence
Feeling extremely frustrated.
Can somebody explain what is LoadDraftingStandardBuilder.WelcomeMode?
I have spent a couple of hours searching the web, all the Help docs / sites and 'getting started' guides and many other docs, but nowhere can I find a single sentence (leave alone any detailed...
I believe that a DatumCsys 'attached' to a datum feature (eg DatumPlane).
So, is it possible to find the DatumPlane to which the DatumCsys is attached? Or in a reverse way, is it possible to get the DatumCsys from the DatumPlane object. I have searched the web and help files, but no clue.
Can...
I want to draw a circle on a Datum Plane.
I have the datum plane and I have the co-ordinates of the center point of circle.
I recorded the macro and every time I use a different model and the methods used in the recorded joutnals are different every time. That's what has got me confused.
How...
The key questions:
1. How can we access, using API (no interactive User selection), a specific face of a Pad feature?
2. How can we get the Object (to which the reference was created) from the Reference? This is reverse of CreateReferenceFromObject.
What I am trying to do:
I am trying to...
How can I change the following setting using VBA?
Tools > Options > Mechanical Design > Sketcher > 'General Update Errors when the sketch is under-constrained'
I can do it manually. The recorded macro is blank. I could not find any reference to 'Sketcher' tab in the 'Setting Controller...
What are the standard practices you follow in your company regarding Isometric Views:
1. On every drawing.
2. Do not use it at all.
3. If only on some drawings what is the typical %ge of drawings in an assembly.
What are the standard practices you follow in your company regarding Parts lists:
1. Parts list on drawing of every assembly even if it is going to be used as sub-assembly or only on main assembly?
2. Parts list in the drawing sheet or exclusively on a separate sheet.