Skip to main content
1-Visitor
April 15, 2017
Solved

I need drawing proprogram

  • April 15, 2017
  • 4 replies
  • 6819 views

I tired but not working.I need to know about how do drawing proprogram,So tell me what is the procedure.

Best answer by PARTHIBAN_K

Hello @BenLoosli

 Thank you for information,  I have edited

4 replies

HamsterNL
18-Opal
April 15, 2017

Here are some tips (sadly I'm on WildFire 4)

First you will have to create a "Drawing State"

"Tools" --> "Drawing Program..." --> "Define States" --> "Create State" --> Enter a name for the state, for example "TEST"

Then, you can record the commands that the drawing state must perform, like show/erase dimensions of views.

Last, you will have to write a bit of PRO/PROGRAM to tell when that state must be activated.

"Tools" --> "Drawing Program..." --> Edit Program --> "File Edit"

IF YES

SET STATE TEST

ENDIF

Close the editor, save changes, hit "Done" or  "Done/Return".

Ofcourse you will have to edit the first line (IF YES) to suit your needs. You can use parameters from the model (part/assembly).

Example:

IF HIDE_3D_VIEW == YES

  SET STATE HIDE_3D

ENDIF

16-Pearl
April 15, 2017
JAK1-VisitorAuthor
1-Visitor
August 3, 2017

That document not in link,Shall you send Again that document,how to do drawing proprogram

16-Pearl
August 4, 2017

Hello @JAK

Sorry for the inconvineance, My database was corrupted some days ago. I working on that, it may take some times to reactivate that link

JAK1-VisitorAuthor
1-Visitor
April 17, 2017

Thank you Teun Ham‌ & Parthiban Kannan‌.It was very helpfull to me.

16-Pearl
August 4, 2017

[sgrb_review id=4]

Can you use the same engineering drawing for the US and Europe Manufacturers?

Most of the US Manufacturers follows the Third angle projection and Most of the Europe Manufacturers follows the First angle projection.

Here we have to send the same casting drawing to the both supplier with their requirement.

Creating multiple drawings for the same model is a bad Idea. During changes in the model causes update required for all the drawings

So create same drawing to use both First angle and the Third angle projection

I am going to control the drawing based on the model parameter named SUPPLIER and based on the SUPPLIER value the drawing will update the view state.

If the Supplier value in parameter is "USA" then the drawing view state in Third Angle Projection otherwise it should be in First angle projection


CREATE MODEL AND ADD PARAMETER
Front and Back View of the Casting Model
Create the 3D Solid Model. Here I have created the casting model shown in the figure


Go to the Tool → Parameter

Create a New parameter named SUPPLIER and Set the Value EUROPE

CREATE DRAWING AND PLACE VIEWS
Now Create the Drawing for the model and place the General View and the Default Projection Views of the model (My Default Projection in Third Angle)

CREATE VIEW STATES 
Go to the Tools → Drawing Program

Select Define States Create States named FIRST_ANGLE and THIRD_ANGLE

RECORD COMMANDS FOR THIRD ANGLE VIEW STATE
Now record the commands for THIRD_ANGLE
Go to Drawing Program → Define States → Edit State → THIRD_ANGLE → Record Cmds

Select Views and move the General and projection views as per Third Angle Projection
The adjusted Projection View for the Third angle

Click Done to complete the Record Command for THIRD_ANGLE State
RECORD COMMANDS FOR FIRST ANGLE VIEW STATE
Now repeat the same steps to Create FIRST_ANGLE State
Go to Drawing Program → Define States → Edit State → FIRST_ANGLE → Record Cmds

Select Views and move the General and projection views as per First Angle Projection
The adjusted Projection View for First angle


Click Done to complete the Record Command for FIRST_ANGLE State
APPLY THE CONDITION / LINK WITH MODEL PARAMETER
Let us control the states via the Parameter using If condition in the Drawing Program
Go to the Drawing Program → Edit Program → File Edit Just write down this code with your notepad editor.
IFSUPPLIER == "USA"

 SET STATETHIRD_ANGLE

ELSE

 SET STATEFIRST_ANGLE

ENDIF



Here

SUPPLIER is the Parameter we created with the model

USA is the value for the Parameter SUPPLIER

FIRST_ANGLE and THIRD_ANGLE is the States we have created with Drawing Program

That's all

Now just change the Model Parameter SUPPLIER Value to USA which results the drawing automatically change it state to First Angle and for other parameter value results in Third Angle state.

Thank you

JAK1-VisitorAuthor
1-Visitor
September 5, 2017

I want to control part in asm drawing.

For example A,B,C are parts in D.asm..

Now D.drw,I no need of A.prt details and i wont show related A.How to do in drawing program.

17-Peridot
September 5, 2017
In which condition you show the A.prt details on the D.drw?