Sıralama ölçütü::
I currently have a macro that traverses thru an assembly andgathers mass properties of each part in the assembly. No if thepart is a pipe or tube from routing, I would like to get the pipelength. I know that in BOM's the property is SWPipeLength, howeverwhere in the API do I go to get this information. I cannot findanything for this property in the help.
SOLIDWORKS User Forum
12 yıl önce
Can anyone provide an example of code to show, hide add orremove columns of a BOM. I need to add (or show) a couple of blankcolumns when exporting to a *.txt file, Thanks in advance.SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
When copying API examples from SW API Help, paste code intoWordpad first to avoid double spacing in VBSolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
FeatureExtrusion command is not working when model is rolledback SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
I have one large assembly in which i want to update thesubassembly by opening sub assemblies.But when i am using onlyOpenDoc6 Api it gives following error swFileLoadWarning_AlreadyOpen. Can anyone tell other way to open the sub-assembly.SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
Hi I had a problem with secton view.I had selected theentity(sketchpoint/LineSketchSegment) in section view. Now i wantto get the component name of the entity selected. is it possible to get component name(SelectByID string) for sectionview.SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
I am trying to implement DAssemblyDocEvents in a C# API addin - I can get a reference to the Model Document, but can not seemto figure out how to connect or get the events from it - I aminterested in DAssemblyDocEvents_AddItemNotifyEventHandler Thanks in advance... ScottSolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
My company should be transitioning to 64 bit Solidworks inthe coming months and was wondering if the macros that have beenprogrammed in 32 bit instance of SW's (using the built in Macrorecorder + some additional VBA programming) will still workperfectly find in the 64bit enviroment. If not, what will have to be done to make them work correctly? Thanks, Adam SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
Is there a way within the API to obtain the overall projectedarea of a part in the three basic XYZ directions? I tried runningthrough all the faces and calling ConvertEntities on each one toproject them onto a sketch plane but that doesn't seem towork.SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
Hey, I am very new to Solidworks API and am wondering if someone canhelp me, i am trying to implement and use an API interface calledSwColorContour? KevinSolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
I have a sheet with some text on that is only accessible byediting the sheet. How can I programatically find this text? The text is always the same so it shouldn't be hard to iteratethrough text fields (if it is possible!!) but how is this achieved?Where are objects that are only available by editing the sheetkept?
SOLIDWORKS User Forum
12 yıl önce
Just a nonsensical post; just noticed I've reached the 1000post marks. Hope my posts have all been helpful to you guys andthats for all those who have ranked me too. SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
how can I write an api in visual studio 2008 to SW2008? what ? must download for api?SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
Hello, I was wondering if Someone could give me an explanation as to whata Persistent ID is. BrendanSolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
Hi, Every now and then we get this message on our SW automation tool. Basically some toolbox component does not exist in the serverstoolbox and a dialog box pops up, asking "Would you like to find ityourself?". Is it possible to auto-decline this, so the program doesn't hang atthis dialog?
SOLIDWORKS User Forum
12 yıl önce
Is there a way from your add-In to get a list of the otheradd-ins that are loaded? Thanks in Advance ScottSolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
Hi guys!! i want to create Extrude cut in an assembly but for this i want to use through all feature and want to selectall bodies how can i set to all bodies because otherwise it cutsome of them here is function but i m not sure about it accessGained = ExtrudeFeatureData2.AccessSelections ( topDoc,component ) can u explain topDoc ----? and component==?
SOLIDWORKS User Forum
12 yıl önce
I am trying to find out whether it is possible to generate amacro that would check a variable on my drawing on then the endstep would invoke the existing pdm workgroup checkin (activedocument) dialog box instead of requiring me to design my owndialog box. Is this possible? Thank you!SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
Hello, I need some help in creating a solid sphere, given X,Y,Z and aradius. At the moment what I do is create a sketch with an arc on it anduse featurerevolve. This is not elegant and resource consuming (Ineed to define a reference plance, create a sketch etc...). Thebest solution for me would be to create a temp solid body of asphere.
SOLIDWORKS User Forum
12 yıl önce
Hi, Are there any macros to get the (X,Y,Z) of a 3d sketch withrespect to origin. in a text or excel fomat. Thanks,SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
I was provided a rile containing a few thousand XYZ pointsfor a system center line. I was able to create an XYZ curve as apart. Now that I have this, I am looking for a way to identify allof the different radii along this curve. A would also like todetermine the arc length of each radii.SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
I am working on an application in VB .net 2008 which worksfine aside from this issue. If I have an assembly or part open,Realview on, the part needs saving (*), and I save the fileSolidWorks crashes. I can catch the FileSaveNotify events but bythat point it is too late and SW crashes anway. Anyone see anythinglike this?
SOLIDWORKS User Forum
12 yıl önce
could someone do a macro to save a pdf of a solidworksdrawing every time i save? this is to save the "save as option"? i normally save the pdf,s in the same location as the solidworksdrawing. is this possible? thanks in advance.SolidworksApi macros
SOLIDWORKS User Forum
12 yıl önce
Anyone can help pls! I'm trying to use DM to get the name of the drawingview refenceusing ISWDMView.ReferencedDocument... I've check the help but I'm kind of confused. what is the good way should I need to have a view selected 1st orshould I select it with DM or ??
SOLIDWORKS User Forum
12 yıl önce