in Tools-Options, navigate to the correct tab of the Drafting preferences, and dump out values of that particular tab, (it is the second button from left, in lower left corner of the options toolbar)
Here is a snippet with relevant data:
long9 = settingRepository1.GetAttr("DrwProject3DSymbol")...
there is a step inbetween design-mode and cgr-mode:
[code]oRootDoc.Product.ApplyWorkMode DEFAULT_MODE 'Required setting to retrieve Product properties (Definition) in visualization mode [/code ]
regards,
LWolf
all BReps tend to be very long names... so yeah it is possible to infer whether the selection was made on a topology/implicit element (face, edge or vertex) or proper/explicit.
regards,
LWolf
in "User Selection Filter" there is a command that selects whole features, even if you click on a patch:
"Feature Element Filter". You can engage it prior to user-selection:
CATIA.StartCommand "Feature Element Filter"
But this will only be valid whilst nothing is selected prior to running the...
How are your parameters defined, what units/dimensions do you have?
You are creating a string defining the KWA input, as if you were manually using the Formula editor e.g.:
Dim String1 As String
String1 = "ToString(round(" & Part.Parameters.GetNameToUseInRelation(CentralCpt) &...
you have loaded the visualisation part--.cgr file. Switch do design mode, that will load in the geometry, and resolve/define the publications
regards,
LWolf
you can flip the orientation of a toolbar by pressing "Shift" whilst the dragged out toolbar is transparent (active) i.e. when dragging it out of the docking area, press "Shift"--this will flip it from vertical to horizontal or vice versa. Or go with rickyt suggestion... Also, if you have...
the D2 coordinates is something added to the drawing frame (probably generated by a script) - and also probably connected to the drawing dimension as well. So all one needs to do is connect that logic to the x,y values obtained for the balloon.
regards,
LWolf
There is the .x and .y property of a text (It is expressed with respect to the current view coordinate system.)
And you can obtain the x and y position of the view.
regards,
LWolf
See the component without the white ark representation as a way to collapse a tree. As Eric says there is no file associated with this kind of a component (unfortunately DS uses the word "component" for different purposes...) In Kinematics, using such a component enables to view all the contents...
Those parameters are of type "Length" and as such when you type in a numerical value, you will get the unit specified in your settings, right now it is "mm"
"N/A" is a string, and as far as I know one cannot change a parameter type... you could replace your lengths with some arbitrary...
Each part must then have that parameter (along with a mass assignment to it). But it should be waaaay faster to work with parts rather than shuffling data in and out of excel. So yes, write a script that assigns a parameter to each part, and measures weight of each partbody (or other bodies if...