Adding Dimension to Assembly View in Drawings using API
Adding Dimension to Assembly View in Drawings using API
(OP)
Hi:
Sorry about last post. I felt I needed to specify that it was and API issue.
I've been looking for a way to do this for a few days, but I've yet to find or understand how it's done.
ht tp://img19 .imagevenu e.com/img. php?loc=lo c105&a mp;image=1 7650_tseri esAssm.JPG
htt p://img152 .imagevenu e.com/img. php?loc=lo c247&a mp;image=1 7656_tseri esDraw.JPG
As you can see, I've posted to pic. One of the Assembly and one of the drawing. Both are made completely from scratch through a program I have been writing. Basically, I make all parts and import into new assembly. Parts and Assembly are saved in a specific folder. I've finally completed the assembly(very tired), but have run into some real issues when trying to create drawings.
I've created a new drawing and inserted plus rotated a new view of the assembly. I am having alot of trouble trying to place new Dimensions driven off of specific edges. btw, dims on drawing are manually placed.
What I was really asking was if I can pick certain edges or features and create dimensions and place them certain distances away from starting point. Is there a reference for programming in vb.net other than help?
Also, I was curious if anynoe else is delving this deep into automating SW. I am having alot of fun making my job obsolete.
Regards,
John Fourhman
Sorry about last post. I felt I needed to specify that it was and API issue.
I've been looking for a way to do this for a few days, but I've yet to find or understand how it's done.
ht
htt
As you can see, I've posted to pic. One of the Assembly and one of the drawing. Both are made completely from scratch through a program I have been writing. Basically, I make all parts and import into new assembly. Parts and Assembly are saved in a specific folder. I've finally completed the assembly(very tired), but have run into some real issues when trying to create drawings.
I've created a new drawing and inserted plus rotated a new view of the assembly. I am having alot of trouble trying to place new Dimensions driven off of specific edges. btw, dims on drawing are manually placed.
What I was really asking was if I can pick certain edges or features and create dimensions and place them certain distances away from starting point. Is there a reference for programming in vb.net other than help?
Also, I was curious if anynoe else is delving this deep into automating SW. I am having alot of fun making my job obsolete.
Regards,
John Fourhman






RE: Adding Dimension to Assembly View in Drawings using API
I figured out how to dig into the Drawing and place Dims in specific features of Assembly. Had to make acall like so...
boolstatus = drawingExt.Extension.SelectByID2("PlaneFrontTab@" & AssyName & "-1@Drawing View1/4902-01-1@" & AssyName, "PLANE", 0, 0, 0, False, 0, Nothing, 0)
Really had to dig deep on this one.
John