| Solid Edge Programming Forum - Through the program to create a square tube??? (0 replies) |
| Posted by fatkids on 02/04/2010 6:37 AM |
Hi all!
I need to through the program to create a square tube, Code is as follows:
SolidEdgeFramework.Application application = null;
SolidEdgeFramework.Documents documents = null;
SolidEdgeP...
|
| Solid Edge Programming Forum - CreateCommand() method (1 replies) |
| Posted by kiran.thokal on 02/03/2010 11:54 AM |
hello,
I am creating add in for solid edge in VB.NET. I have added button successfully now i have to give functionality to that button.
What I am thinking is that first i need to create command's object as
seCommand = seApp.CreateCommand(2)
seCommand.Start()
here I have to fetch some data from database and fill the values in file properies custom properties.
So, how i can i do th...
|
| Solid Edge Programming Forum - How to use SEPreview control the control to achieve synchronization of changes in solidedge (0 replies) |
| Posted by wei on 02/03/2010 7:13 AM |
I wrote a form, through an external procedure call solidedge, in their own form on how to use the rotary controls SEPreview control
I can only rotate solidedge through the external program interface, the model changes, but I want to change the interface background solidedge results of a timely return to the control of control SEPreview.
Should be how to do do a good job is to give an example. La...
|
| Solid Edge Programming Forum - How to use the SetSectionPlanes method (0 replies) |
| Posted by wei on 02/02/2010 11:55 PM |
How to use SolidEdgeFramework.View the SetSectionPlanes method, please tell me the specific parameters of the role and how to get
|
| Solid Edge Programming Forum - Register for COM interop in VB 2008 express (2 replies) |
| Posted by danlanigan on 02/01/2010 11:02 PM |
Hi,
I'm trying to create a SE addin using VB 2008 express edition. I am using the SE '.NET programmers guide - Chapter 12 Addins' as a reference. I don't get very far before being stumped. There is no 'Register for COM interop' in the compile tab of the project properties dialogue. I understand from some google searches that I have done that this feature is not a part of VB 2008...
|
| Solid Edge Programming Forum - How to convert from SolidEdgePart.ExtrudedProtrusion to SolidEdgePart.BodylFeature ? (1 replies) |
| Posted by jurajjoob on 01/29/2010 9:19 AM |
I don't know how to convert from SolidEdgePart.ExtrudedProtrusion to SolidEdgePart.BodyFeature ?
Code
SolidEdgePart.BodyFeature F=(SolidEdgePart.BodyFeature)extrudedProtrusionVariable;
raise exception InvalidCastException.
|
| Solid Edge Programming Forum - How to execute method ExtrudedProtrusion.GetDimensions via InvokeMember in C# ? (0 replies) |
| Posted by jurajjoob on 01/29/2010 9:08 AM |
I don't know how to execute method ExtrudedProtrusion.GetDimensions via .GetType().InvokeMember in C#. I don't know how to create parameters with COM attributes [out] , [in, out] and create parameter type [in, out] SAFEARRAY(IDispatch*)*.
|
| Solid Edge Programming Forum - How to use "AddBaseContourFlange"? (0 replies) |
| Posted by fatkids on 01/29/2010 7:00 AM |
Sorry, My browser has problems!
|
| Solid Edge Programming Forum - How to use "AddBaseContourFlange"? (0 replies) |
| Posted by fatkids on 01/29/2010 7:00 AM |
Sorry, My browser has problems!
|
| Solid Edge Programming Forum - How to use "AddBaseContourFlange"? (1 replies) |
| Posted by fatkids on 01/29/2010 7:00 AM |
In SheetMetal, I use "How to use AddBaseContourFlange" to generate a model, but can not make the thickness.
[script removed]
code:
double t = 0.04;
model = models.AddBaseContourFlange( profile, t as object, SolidEdgePart.FeaturePropertyConstants.igFinite, SolidEdgePart.FeaturePropertyConstants.igLeft, Convert.ToDouble(textBox1.Text) / 1000, Missing.Value, Missing.Value, Missing.Value, Mi...
|
| Solid Edge Programming Forum - MousePointer (0 replies) |
| Posted by BMLKidd on 01/27/2010 5:12 PM |
This subject may have been beaten to death, but ... I have a program that updates all of the views within a draft. It is a VB6 external .exe, not an addin. Thus, although I can set the Edge session to .Interactive = False, is there any way to set the MousePointer to an hourglass?
|
| Solid Edge Programming Forum - How to iterate throught collection Model.Features ? (0 replies) |
| Posted by jurajjoob on 01/27/2010 3:59 PM |
I want to iterate throught collection Model.Features and i don't know how type of Item i use. if i use SolidEdgePart.BodyFeature as item type occurs error.
example in C#:
foreach(SolidEdgePart.BodyFeature F in model.Features) // thrown exception
{
.
.
.
}
|
| Solid Edge Programming Forum - Solid Edge Libraries being Uninstalled (1 replies) |
| Posted by tah1174 on 01/27/2010 12:29 AM |
Hi all,
Am looking for some help with setting up my VB 2008 Add-In for Solid Edge. At the moment it installs fine, runs fine and uninstalls fine, except when it uninstalls it takes with it the solid edge copies of the libraries that it references from the Solid Edge Directory and yet leaves the copies in the Addin directory. It also seems to unregister them. I would like to...
|
| Solid Edge Programming Forum - adding textbox borders to textbox in draft env (1 replies) |
| Posted by Terry44 on 01/26/2010 11:37 PM |
I am working a project to build a tree structure in SE draft environment using VBA in excel. I know how to add the text but I need to place a border (box, rectangle, square shape) around the text. I have looked at the VBA object browser but not sure if I am using the class methods correctly - unable to add borders.
Thanks for any help
|
| JasonNewell.NET PowerToys for Solid Edge Forum - PowerToys support for custom columns (0 replies) |
| Posted by rocknrol on 01/26/2010 8:20 PM |
Your PowerToys is very good application. I installed ver 1.3. Support for custom columns is useful feature for me, but i have question about that. I have a macro which generates plate and writes custom properties Lenght, Width and Thickness. They are saves as a number and contains model nominal dimensions. Now custom columns shows their values with five digits after comma. I want to show only one ...
|
| Solid Edge Programming Forum - How to read, from a draft, the file properties of the part / assembly (2 replies) |
| Posted by se06 on 01/25/2010 7:58 AM |
When I create a draft from a part / assebly I want to copy their properties.
Who can tell me how to retrieve, from a draft, the part / assembly properties with a .NET program ?
|
| Solid Edge General Forum - Hole table and different depths? (0 replies) |
| Posted by rocknrol on 01/24/2010 1:13 PM |
Is it possible to show holes with same diameter but different depths in different rows in hole table? Example A Ø8 h12 x4 in one row and B Ø8 h10 x6 in other row. Right now the hole table counts all Ø8 holes (irrespective of depth) and puts the depth on the first selected hole. Depth column is taken with callout (%DP %HD). And is there a way to change annotation letters to my own marking?
|
| Solid Edge Programming Forum - tilew indows (1 replies) |
| Posted by ali on 01/23/2010 1:32 PM |
Hi All !
what is the command to tile windows if more than one part are opened.
Regards
Ali
|
| Solid Edge Programming Forum - MenuItem of Addins in SolidEdgeDeveloperConference2005 (0 replies) |
| Posted by Justin Teng on 01/20/2010 8:29 AM |
Hi, all: after succeeding compiling \C#.NET\Addins\Toolbar of SolidEdgeDeveloperConference2005, I can't find any subMenuItem of SEAddin, But everything is okay as for VS.NET2005AddInShimDemo. Anybody can give me a hand? My Solid Edge is 20.00.00.96, Visual studio 2008. thanks in advance!
|
| Solid Edge Programming Forum - Help with SweptProtrusion (2 replies) |
| Posted by stonelyd on 01/19/2010 4:37 PM |
Hi,
I am looking for help with SweptProtrusion API. I am trying to do this with a SyncPart, but working example in a traditional part would be great.
Private Sub Command1_Click()
Dim objApp As SolidEdgeFramework.Application
Dim objPart As SolidEdgePartSync.PartDocument
Dim objRefPlanes As SolidEdgePartSync.RefPlanes
...
|
| Solid Edge Programming Forum - How to compute bounding box(min, max point) of selected object aligned to selected coord system ? (2 replies) |
| Posted by jurajjoob on 01/19/2010 8:00 AM |
How to compute bounding box(min, max point) for selected object? Bounding box must be aligned to specified coord system. I 'm programming in NX6 and there It is possible calling function UF_MODL_ask_bounding_box_exact, or UF_MODL_ask_bounding_box_aligned. Is it possible in SolidEdge? How to do it? I find only methods GetExactRange and GetRange.
Thanks
|
| Solid Edge Programming Forum - How to create a draft for a specific face (0 replies) |
| Posted by nbautomation on 01/18/2010 2:30 PM |
Hi
I already know how to create a draft for a predefined orientation. But how do I create a draft to see a specific face? I would like the draft to be facing the biggest face of my object.
Thanks
'oSEApp is SolidEdge Application object
'oDoc is a PSM ou PAR object
Dim oFace As SolidEdgeGeometry.Face
Dim oBiggestFace As SolidEdgeGeometry.Face
Dim oDFT As SolidEdgeDraft....
|
| Solid Edge Programming Forum - How to create Assembly Patterns? (8 replies) |
| Posted by Serge on 01/13/2010 10:57 AM |
From the API reference it is not clear how to use function AssemblyPatterns.Create( PatternName, MasterOccurrences, FeaturePattern, ReferenceFeature) and what arguments to pass.
I used the following sample in VB to create a new AssemblyPattern but it always failed.
Dim objOccArray(1 To 1) As Object
Set objOccArray(1) = objAssmDoc.Occurrences(2)
Dim Occ As SolidEdgeAssembly.Occurrence
Occ = ob...
|
| Solid Edge Programming Forum - How to create Reference of occurrence which Parent is occurrence? (3 replies) |
| Posted by jurajjoob on 01/13/2010 6:43 AM |
Hi,
help me, how to create Reference (via method AssemblyDocument.CreateReference(occurrence,entity)) from occurrence, where parent of occurrence is occurrence (3. level of assembly)?
I create Reference (C#):
SolidEdgeFramework.Reference reference=SolidEdgeAssembly.CreateReference(((SolidEdgeAssembly.SubOccurrence)occurrence.Parent).ThisAsOccurrence, occurrence.ThisAsOccurrence);
It's o...
|
| Solid Edge Programming Forum - How do I copy sketches to Clipboard??? (3 replies) |
| Posted by fatkids on 01/12/2010 2:54 PM |
Hi all!
I want to copy outline of sketches to Clipboard,and then paste it into another sketch.
I would like to how to achieve?
Please help!
Thanks!
|
| Solid Edge Programming Forum - How to obtain Suboccurrence from Reference ? (5 replies) |
| Posted by jurajjoob on 01/12/2010 10:21 AM |
How to obtain Suboccurrence from Reference and Reference from Suboccurrence ?
Thanks.
|
| Solid Edge Programming Forum - How to select suboccurrence ? (2 replies) |
| Posted by jurajjoob on 01/12/2010 9:11 AM |
How to select suboccurrence via API ?
When i run this code
SolidEdgeFramework.SelectSet SS=Application.ActiveSelectSet;
SS.Add(Occ); //Occ is SolidEdgeAssembly.Occurrence object
SS.Add(SubOcc); //SubOcc is SolidEdgeAssembly.Suboccurrence object
i get result:
Occ is selected.
SubOcc is not selected.
Thanks.
|
| Solid Edge Programming Forum - How to detect selected object type ? (8 replies) |
| Posted by jurajjoob on 01/11/2010 10:28 PM |
I select object in SE assembly by creating command using Application.CreateCommand method. I using mouse settings:
Command.Mouse.WindowTypes = 1; //only graphic window
Command.Mouse.EnabledDrag = false;
Command.Mouse.EnabledMove = true;
Command.Mouse.InterDocumentLocate = true;
Command.Mouse.LocateMode = (int)SolidEdgeConstants.seLocateModes.seLocateQuickPi...
|
| Solid Edge Programming Forum - How To Get Active Occurrence (In Place Activated)? (0 replies) |
| Posted by jurajjoob on 01/11/2010 8:09 PM |
I need to get active occurrence (In Place Activated) in SE assembly. In NX6 I use function UF_ASSEM_ask_work_occurrence to get active (work) occurrence. Is it possible in Solid Edge?
Thanks.
|
| Solid Edge Programming Forum - How to access first level of occurrences in assy? (2 replies) |
| Posted by jurajjoob on 01/11/2010 2:16 PM |
Helo,
A'm programmer under NX6 in C# and C++. I want to get only first level of occurrences In SolidEdge ST2 assembly. Property SolidEdge.AssemblyDocument.Occurrences gives all levels of occurrences of all assembly.
Asm1.asm
|--- Part1.par:1 ...
|
| Solid Edge Programming Forum - Test call (0 replies) |
| Posted by Lubelan on 01/11/2010 1:48 PM |
Test call
|
| Solid Edge Programming Forum - Correct occurence (4 replies) |
| Posted by Jara on 01/11/2010 10:37 AM |
Hello all,
I need to compute reference from down to top. This mean for example:
User selects one of screws in assembly and I need to now which one.
Assembly structure can be like this:
a
|-b
| |-c
| | |-screw
| | |-screw
| |
| |-c ...
|
| Solid Edge Programming Forum - i want program in positon solid edge (2 replies) |
| Posted by sundaljjang on 01/08/2010 3:47 AM |
i want program in positon solid edge
how???
|
| Solid Edge Programming Forum - How to use SEPartX control? (0 replies) |
| Posted by fatkids on 01/07/2010 7:29 AM |
How to use SEPartX control in C# of VS2008 ?
Code:
axSEpartX1.PartFile = @"D:\1.par";
Error Message:
Exception of type 'System.OutOfMemoryException' was thrown.
Thanks.
|
| Solid Edge Programming Forum - What's error? (1 replies) |
| Posted by assassin.007 on 01/06/2010 4:30 PM |
Hi, Jason, I want to change the variable in variable table by program with C++, but I find a question, program as following,
pDis=pPartDoc->Variables;
hr=pDis->QueryInterface(&pVars);
pDis->Release();
// hr=pVars->Edit("a","120"); /// It's OK!
_variant_t v;
v="a";
...
|
| Solid Edge Programming Forum - Display Arrow (0 replies) |
| Posted by Jara on 01/05/2010 12:14 PM |
Hello All,
I need to display arrow to let user choose which side sgould be trimmed.
Does anybody have idea how to diplay the arrow which is in native SE for example displayed during "Side step" or "Extend step" ??
Thanks,
Best Regards,
Jara
|
| Solid Edge Programming Forum - do you have femap api example?? (2 replies) |
| Posted by sundaljjang on 12/31/2009 4:57 AM |
my name is sun-il kim.
i can't english very well
i want to femap api example or site
can i get femap spy like solid edge spy?
happy new year~ ^^
|
| Solid Edge Programming Forum - Solid Edge ST2 insight setup?? (0 replies) |
| Posted by sundaljjang on 12/24/2009 3:27 AM |
hi~ all~
how to Solid Edge ST2 insight setup??
1. bom view
2. graphics view
3. property view
1, 2, 3, give me guide please~
Email : sundaljjang@nate.com
Marry chismas ^^
|
| Solid Edge General Forum - Notify MePMI & exploded view (0 replies) |
| Posted by rocknrol on 12/21/2009 8:17 AM |
How I can or can I show in draft PMI dimensions when in properties -> "configuration or PMI view" is selected exploded configuration?
|
| Solid Edge Programming Forum - How to specified material with c#??? (2 replies) |
| Posted by fatkids on 12/16/2009 9:00 AM |
Hello jason!
Hi all!
I want to specified material with my program.
SolidEdgeFramework.Application SEApp1 = null;
SolidEdgeFramework.SolidEdgeDocument SEDoc1 = null;
SEApp1 = Marshal.GetActiveObject("SolidEdge.Application") as SolidEdgeFramework.Application;
SEDoc1 = SEApp1.ActiveDocument as SolidEdgeFramework.SolidEdgeDocument;
SolidEdgeFramework.MatTable Table_Materiel = SEApp1.GetMaterial...
|