Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: roust
  • Order by date
  1. roust

    how to add a new layer in autocad with vb?

    Thank you. it should be: set newlayer=AcadObj.ActiveDocument.layers.Add("Center")
  2. roust

    where can find control's property?

    Use a multipage control in a form, want some commandbutton1 or text control on a page of multipage. select controls from tool box through click right mouse,and draw it on the form, I wanna know where to find every control's property of multipage? how to write code on these controls?
  3. roust

    How to set linetypescale in a new layer?

    I use VB for AutoCAD. I wanna create a new layer,and set its color, linetype, linetypescale. Now I can create create a new layer, and load a linetype and color for it. use code below: newlayer.color=5 newlayer.linetype="center" But how can i set linetypescale for all object on this layer?
  4. roust

    how to set extendoption in VB?

    thank u. now i know how to set extendoption'm value. it can be one of 0~3.
  5. roust

    how to set extendoption in VB?

    I wanna seek intersection of an circle and a line, in below sentence, IntersectionPt = circle.IntersectWith(Line, Extendoption) how to difine extendoption or which can i use? thank u all.
  6. roust

    how to add a new layer in autocad with vb?

    I want to add a new layer in autocad, use code below, set newlayer=AcadObj.ActiveDocument.Modelspace.layers.Add("Center") but it cant be work. why? how to do it?

Part and Inventory Search